]> git.proxmox.com Git - rustc.git/blame - src/test/ui/const_prop/inline_spans.stderr
Update (un)suspicious files
[rustc.git] / src / test / ui / const_prop / inline_spans.stderr
CommitLineData
29967ef6
XL
1error: this arithmetic operation will overflow
2 --> $DIR/inline_spans.rs:7:13
3 |
4LL | let _ = add(u8::MAX, 1);
5 | ^^^^^^^^^^^^^^^ attempt to compute `u8::MAX + 1_u8`, which would overflow
6...
7LL | x + y
8 | ----- in the inlined copy of this code
9 |
10 = note: `#[deny(arithmetic_overflow)]` on by default
11
12error: aborting due to previous error
13