We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c0c661 commit 847bd67Copy full SHA for 847bd67
tests/ui/cast_size.rs
@@ -62,6 +62,6 @@ fn main() {
62
//~^ cast_precision_loss
63
9_999_999_999_999_999usize as f64;
64
65
- //~[32bit]^^ overflowing_literals
+ //~[32bit]^^ ERROR: literal out of range for `usize`
66
// 999_999_999_999_999_999_999_999_999_999u128 as f128;
67
}
tests/ui/fn_to_numeric_cast.rs
@@ -79,7 +79,7 @@ fn test_function_var_to_numeric_cast() {
79
fn fn_with_fn_args(f: fn(i32) -> i32) -> i32 {
80
f as i32
81
//~[64bit]^ fn_to_numeric_cast_with_truncation
82
- //~[32bit]^^ ERROR: literal out of range for `usize`
+ //~[32bit]^^ fn_to_numeric_cast
83
84
85
fn main() {}
0 commit comments