Address review comment
This commit is contained in:
parent
c8a866ea17
commit
888ef24c22
2 changed files with 3 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ LL | let _ = add(u8::MAX, 1);
|
|||
| ^^^^^^^^^^^^^^^ attempt to compute `u8::MAX + 1_u8`, which would overflow
|
||||
...
|
||||
LL | x + y
|
||||
| ----- in the inlined copy of this
|
||||
| ----- in the inlined copy of this code
|
||||
|
|
||||
= note: `#[deny(arithmetic_overflow)]` on by default
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue