diff options
Diffstat (limited to 'src/test/ui/lint/issue-79744.stderr')
-rw-r--r-- | src/test/ui/lint/issue-79744.stderr | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/ui/lint/issue-79744.stderr b/src/test/ui/lint/issue-79744.stderr new file mode 100644 index 000000000..6f6dd44d2 --- /dev/null +++ b/src/test/ui/lint/issue-79744.stderr @@ -0,0 +1,12 @@ +error: literal out of range for `i8` + --> $DIR/issue-79744.rs:3:14 + | +LL | let e2 = 230; + | ^^^ + | + = note: `#[deny(overflowing_literals)]` on by default + = note: the literal `230` does not fit into the type `i8` whose range is `-128..=127` + = help: consider using the type `u8` instead + +error: aborting due to previous error + |