-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Tracking issue for feature extern_crate_self #56409
Copy link
Copy link
Closed
Labels
B-unstableBlocker: Implemented in the nightly compiler and unstable.Blocker: Implemented in the nightly compiler and unstable.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-langRelevant to the language teamRelevant to the language team
Metadata
Metadata
Assignees
Labels
B-unstableBlocker: Implemented in the nightly compiler and unstable.Blocker: Implemented in the nightly compiler and unstable.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-langRelevant to the language teamRelevant to the language team
Type
Fields
Give feedbackNo fields configured for issues without a type.
With this feature
extern crate NAME as RENAME;now acceptsNAME=selfand interprets it as referring to the local crate.As with other
extern crateitems,RENAMEin this case gets into extern prelude and therefore can be used from absolute paths and imports on 2018 edition.The feature's primary purpose is to resolve #54647 and support migration of proc macro crates to 2018 edition.
Implementation PR - #55275.