Auto merge of #6404 - flip1995:rustup, r=flip1995
Rustup r? `@ghost` changelog: none
This commit is contained in:
commit
4785da6e37
2 changed files with 3 additions and 3 deletions
|
|
@ -1,10 +1,10 @@
|
|||
error: invalid suffix `x` for integer literal
|
||||
error: invalid suffix `x` for number literal
|
||||
--> $DIR/ice-3891.rs:2:5
|
||||
|
|
||||
LL | 1x;
|
||||
| ^^ invalid suffix `x`
|
||||
|
|
||||
= help: the suffix must be one of the integral types (`u32`, `isize`, etc)
|
||||
= help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ fn main() {
|
|||
v != 1.0;
|
||||
|
||||
const ZERO_ARRAY: [f32; 3] = [0.0, 0.0, 0.0];
|
||||
const ZERO_INF_ARRAY: [f32; 3] = [0.0, ::std::f32::INFINITY, ::std::f32::NEG_INFINITY];
|
||||
const ZERO_INF_ARRAY: [f32; 3] = [0.0, f32::INFINITY, f32::NEG_INFINITY];
|
||||
const NON_ZERO_ARRAY: [f32; 3] = [0.0, 0.1, 0.2];
|
||||
const NON_ZERO_ARRAY2: [f32; 3] = [0.2, 0.1, 0.0];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue