Skip to content

Commit 847bd67

Browse files
f
1 parent 2c0c661 commit 847bd67

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/ui/cast_size.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,6 @@ fn main() {
6262
//~^ cast_precision_loss
6363
9_999_999_999_999_999usize as f64;
6464
//~^ cast_precision_loss
65-
//~[32bit]^^ overflowing_literals
65+
//~[32bit]^^ ERROR: literal out of range for `usize`
6666
// 999_999_999_999_999_999_999_999_999_999u128 as f128;
6767
}

tests/ui/fn_to_numeric_cast.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ fn test_function_var_to_numeric_cast() {
7979
fn fn_with_fn_args(f: fn(i32) -> i32) -> i32 {
8080
f as i32
8181
//~[64bit]^ fn_to_numeric_cast_with_truncation
82-
//~[32bit]^^ ERROR: literal out of range for `usize`
82+
//~[32bit]^^ fn_to_numeric_cast
8383
}
8484

8585
fn main() {}

0 commit comments

Comments
 (0)