Skip to content

Commit 4785da6

Browse files
committed
Auto merge of #6404 - flip1995:rustup, r=flip1995
Rustup r? `@ghost` changelog: none
2 parents 68cf94f + 3be53bc commit 4785da6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/ui/crashes/ice-3891.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
error: invalid suffix `x` for integer literal
1+
error: invalid suffix `x` for number literal
22
--> $DIR/ice-3891.rs:2:5
33
|
44
LL | 1x;
55
| ^^ invalid suffix `x`
66
|
7-
= help: the suffix must be one of the integral types (`u32`, `isize`, etc)
7+
= help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
88

99
error: aborting due to previous error
1010

tests/ui/float_cmp_const.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ fn main() {
4848
v != 1.0;
4949

5050
const ZERO_ARRAY: [f32; 3] = [0.0, 0.0, 0.0];
51-
const ZERO_INF_ARRAY: [f32; 3] = [0.0, ::std::f32::INFINITY, ::std::f32::NEG_INFINITY];
51+
const ZERO_INF_ARRAY: [f32; 3] = [0.0, f32::INFINITY, f32::NEG_INFINITY];
5252
const NON_ZERO_ARRAY: [f32; 3] = [0.0, 0.1, 0.2];
5353
const NON_ZERO_ARRAY2: [f32; 3] = [0.2, 0.1, 0.0];
5454

0 commit comments

Comments
 (0)