Closed
Description
This is a sub-tracking issue for the RFC "Clarify and streamline paths and visibility" (rust-lang/rfcs#2126)
as well as the internals post Relative Paths in Rust 2018.
The issue deals with revamping paths and making a decision about whether we should pick:
- The
uniform_paths
variant.
Proposed in Relative Paths in Rust 2018. - The
anchored_use_paths
variant.
You have to useself::
,super::
, andcrate::
, or an external crate name explicitly....
See RFC: Clarify and streamline paths and visibility rfcs#2126).
- Implement all the things.
-
uniform_paths
, #[feature(uniform_paths)]: allowuse x::y;
to resolve throughself::x
, not just::x
. #52923 -
anchored_use_paths
-
- Make both variants available to test in Edition Preview 2 with appropriate documentation on how to test.
- Adjust documentation (see instructions on forge)
- Pick a variant
- Stabilization PR (see instructions on forge)
Unresolved questions:
- Which variant do we pick?
Metadata
Metadata
Assignees
Labels
Blocker: Approved by a merged RFC but not yet implemented.Category: An issue tracking the progress of sth. like the implementation of an RFCRelevant to the language team, which will review and decide on the PR/issue.This issue / PR is in PFCP or FCP with a disposition to merge it.The final comment period is finished for this PR / Issue.