fork/rust

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

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

master
896 B28 linesraw
1error[E0080]: could not evaluate static initializer
2  --> $DIR/tls.rs:11:25
3   |
4LL |     unsafe { let _val = A; }
5   |                         ^ cannot access thread local static (DefId(0:4 ~ tls[ca29]::A))
6
7error[E0080]: could not evaluate static initializer
8  --> $DIR/tls.rs:18:26
9   |
10LL |     unsafe { let _val = &A; }
11   |                          ^ cannot access thread local static (DefId(0:4 ~ tls[ca29]::A))
12
13warning: skipping const checks
14   |
15help: skipping check that does not even have a feature gate
16  --> $DIR/tls.rs:11:25
17   |
18LL |     unsafe { let _val = A; }
19   |                         ^
20help: skipping check that does not even have a feature gate
21  --> $DIR/tls.rs:18:26
22   |
23LL |     unsafe { let _val = &A; }
24   |                          ^
25
26error: aborting due to 2 previous errors; 1 warning emitted
27
28For more information about this error, try `rustc --explain E0080`.