-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prelude injection should not use gated features #13533
Comments
To remove the dependency on If globs are removed, resolve could still special-case prelude(s), without having complicated semi-cycle-aware glob resolution logic ( |
I think glob issue can be solved by managing prelude list at |
Having the list in |
I was under the impression that |
we can bless the use of certain implementation strategies in the prelude itself, such as in this case using |
(we should avoid adding more feature cruft to the prelude, but if we need to do, it needs to basically adhere to the same constraints that I described above). |
Marking as P-low, not 1.0 milestone. |
Neither of these features are gated any more, so this is no longer an issue. |
docs: add crates section to the manual closes rust-lang#13533 Added a section to the user manual, to make it easier for users to find the correct crate.
…r=dswij Fix span issue on `implicit_saturating_sub` Fixes rust-lang#13524 changelog: [`implicit_saturating_sub`]: Fix span issue on else blocks
…r=y21 [`implicit_saturating_sub`] Fix suggestion with a less volatile approach Related to rust-lang#13533, such and obvious mistake got pass my watch, quite embarassing :/ Revert rust-lang#13533 and implement a more robust solution. Revert "Fix span issue on `implicit_saturating_sub` This reverts commit 140a127. changelog: [`lint_name`]: Fix suggestion for `if {} else if {} else {}` cases r? `@y21`
Right now the prelude magically uses both
#[feature(phase)]
and#[feature(globs)]
without declaring so. Something as critical as the prelude should not require the use of features that aren't actually part of the stable language. Nominating.The text was updated successfully, but these errors were encountered: