rust/tests/ui/asm/const-error.stderr

10 lines
328 B
Plaintext
Raw Normal View History

2023-10-05 04:43:55 -05:00
error[E0080]: evaluation of `test::<T>::{constant#0}` failed
2024-08-10 11:13:03 -05:00
--> $DIR/const-error.rs:10:32
2023-10-05 04:43:55 -05:00
|
2024-08-10 11:13:03 -05:00
LL | asm!("/* {} */", const 1 / 0);
| ^^^^^ attempt to divide `1_i32` by zero
2023-10-05 04:43:55 -05:00
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0080`.