Skip to content
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

Consistent no_prelude attribute #80427

Closed
wants to merge 12 commits into from
Prev Previous commit
Next Next commit
move feature gate test to where the other feature gate testes are
  • Loading branch information
Skgland committed Jan 17, 2021
commit 9005a0b3f07af2ab37807ca6cdf1743257e91b13
12 changes: 12 additions & 0 deletions src/test/ui/feature-gates/feature-gate-no_prelude.stderr
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
error[E0658]: experimental feature: replacement for #![no_implicit_prelude] that is not inherited by descendants
--> $DIR/feature-gate-no_prelude.rs:1:1
|
LL | #![no_prelude]
| ^^^^^^^^^^^^^^
|
= note: see issue #20561 <https://github.com/rust-lang/rust/issues/20561> for more information
= help: add `#![feature(no_prelude)]` to the crate attributes to enable

error: aborting due to previous error

For more information about this error, try `rustc --explain E0658`.