Continue writing report
This commit is contained in:
parent
bc3fe77c93
commit
f36c9fef60
22 changed files with 266 additions and 165 deletions
9
tex/code/integer-overflow
Normal file
9
tex/code/integer-overflow
Normal file
|
@ -0,0 +1,9 @@
|
|||
error: literal out of range for `u8`
|
||||
--> types.rs:2:19
|
||||
|
|
||||
2 | let age: u8 = 256;
|
||||
| ^^^
|
||||
|
|
||||
= note: `#[deny(overflowing_literals)]` on by default
|
||||
|
||||
error: aborting due to previous error
|
Loading…
Add table
Add a link
Reference in a new issue