fork/rust

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

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

master
1.0 KiB28 linesraw
1error[E0425]: cannot find value `rust` in this scope
2  --> $DIR/track.rs:LL:CC
3   |
4LL |     break rust
5   |           ^^^^ not found in this scope
6-Ztrack-diagnostics: created at compiler/rustc_resolve/src/late/diagnostics.rs:LL:CC
7
8error[E0268]: `break` outside of a loop or labeled block
9  --> $DIR/track.rs:LL:CC
10   |
11LL |     break rust
12   |     ^^^^^^^^^^ cannot `break` outside of a loop or labeled block
13-Ztrack-diagnostics: created at compiler/rustc_passes/src/loops.rs:LL:CC
14
15error: internal compiler error: It looks like you're trying to break rust; would you like some ICE?
16
17note: the compiler expectedly panicked. this is a feature.
18
19note: we would appreciate a joke overview: https://github.com/rust-lang/rust/issues/43162#issuecomment-320764675
20
21note: rustc $VERSION running on $TARGET
22
23note: compiler flags: ... -Z ui-testing ... -Z track-diagnostics
24
25error: aborting due to 3 previous errors
26
27Some errors have detailed explanations: E0268, E0425.
28For more information about an error, try `rustc --explain E0268`.