Uh oh!
There was an error while loading. Please reload this page.
Stabilize extern_crate_item_prelude - #56032
Conversation
petrochenkov
commented
Nov 17, 2018
r? @Centril |
Stabilization reportFeature name: Implemented in #54658 and landed 23 days ago. Why it's desirable to stabilize for the edition releaseThe feature provides the same usage model for "normal" crates (passed with As a result this code "just works" on 2018 edition: externcrate proc_macro;use proc_macro::TokenStream;If this is not stabilized for the edition release, nothing too terrible happens, but users of the aforementioned crates will have to use them like something from the local crate for some time (e.g. until the next release). externcrate proc_macro;usecrate::proc_macro::TokenStream;What is being stabilizedIf item If the name externcrate foo;mod m {use foo;// OKuse::foo;// OKlet x = foo::bar;// OKlet x = ::foo::bar;// OK}Some details and corner casesIf mod inner {pub(crate)externcrate foo;}use inner::foo;If Macro expanded Interactions of the feature with unstable macros 2.0 |
Centril
commented
Nov 19, 2018
I propose that we stabilize @rfcbot merge |
Team member @Centril has proposed to merge this. The next step is review by the rest of the tagged teams: No concerns currently listed. Once a majority of reviewers approve (and none object), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! See this document for info about what commands tagged team members can give me. |
bors
commented
Nov 19, 2018
☔ The latest upstream changes (presumably #56042) made this pull request unmergeable. Please resolve the merge conflicts. |
alexcrichton
commented
Nov 19, 2018
@bors: p=1 beta nominated |
nikomatsakis
commented
Nov 20, 2018
(I checked @pnkfelix as they are on PTO) |
rfcbot
commented
Nov 20, 2018
🔔 This is now entering its final comment period, as per the review above. 🔔 |
petrochenkov
commented
Nov 20, 2018
@bors r=nikomatsakis |
bors
commented
Nov 20, 2018
📌 Commit d4934c7 has been approved by |
beta backport rollup Backports of some beta-approved PRs - [x] #55385: NLL: cast causes failure to promote to static - [x] #56043: remove "approx env bounds" if we already know from trait - [x] #56003: do not propagate inferred bounds on trait objects if they involve `Self` - [x] #55852: Rewrite `...` as `..=` as a `MachineApplicable` 2018 idiom lint - [x] #55804: rustdoc: don't inline `pub use some_crate` unless directly asked to - [x] #56059: Increase `Duration` approximate equal threshold to 1us - [x] Keep resolved defs in path prefixes and emit them in save-analysis #54145 - [x] Adjust Ids of path segments in visibility modifiers #55487 - [x] save-analysis: bug fix and optimisation. #55521 - [x] save-analysis: be even more aggressive about ignorning macro-generated defs #55936 - [x] save-analysis: fallback to using path id #56060 - [x] save-analysis: Don't panic for macro-generated use globs #55879 - [x] Add temporary renames to manifests for rustfmt/clippy #56081 - [x] Revert #51601#56049 - [x] Fix stability hole with `static _` #55983 - [x] #56077 - [x] Fix Rustdoc ICE when checking blanket impls #55258 - [x] Updated RELEASES.md for 1.31.0 #55678 - [x] ~~#56061~~ #56111 - [x] Stabilize `extern_crate_item_prelude` #56032 Still running tests locally, and I plan to backport @nrc's other PRs too (cc @petrochenkov -- thanks for the advice)
bors
commented
Nov 21, 2018
Stabilize `extern_crate_item_prelude` Closes#55599
bors
commented
Nov 21, 2018
☀️ Test successful - status-appveyor, status-travis |
Closes#55599