Skip to content
Closed
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`.