mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 14:01:51 +00:00
1576a6d618
update tests fix bitwidth-sensitive stderr output use build-fail for asm tests
10 lines
356 B
Plaintext
10 lines
356 B
Plaintext
error[E0080]: evaluation of constant value failed
|
|
--> $DIR/no-ice-from-static-in-const-issue-52060.rs:5:35
|
|
|
|
|
LL | static B: [u32; 1] = [0; unsafe { A.len() }];
|
|
| ^ constant accesses mutable global memory
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0080`.
|