fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
653 B20 linesraw
1error[E0658]: allow_internal_unstable side-steps feature gating and stability checks
2  --> $DIR/feature-gate-allow-internal-unstable-struct.rs:4:1
3   |
4LL | #[allow_internal_unstable()]
5   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6   |
7   = help: add `#![feature(allow_internal_unstable)]` to the crate attributes to enable
8
9error: attribute should be applied to a macro
10  --> $DIR/feature-gate-allow-internal-unstable-struct.rs:4:1
11   |
12LL | #[allow_internal_unstable()]
13   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14LL |
15LL | struct S;
16   | --------- not a macro
17
18error: aborting due to 2 previous errors
19
20For more information about this error, try `rustc --explain E0658`.