summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lexer/error-stage.stderr
blob: 697a7c28da16d5743bcd23728fd040ad5383b9a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
error: binary float literal is not supported
  --> $DIR/error-stage.rs:56:5
   |
LL |     0b10.0f32;
   |     ^^^^^^

error: binary float literal is not supported
  --> $DIR/error-stage.rs:68:5
   |
LL |     0b10.0f32;
   |     ^^^^^^

error: binary float literal is not supported
  --> $DIR/error-stage.rs:78:5
   |
LL |     0b10.0f32;
   |     ^^^^^^

error: suffixes on string literals are invalid
  --> $DIR/error-stage.rs:74:5
   |
LL |     "string"any_suffix;
   |     ^^^^^^^^^^^^^^^^^^ invalid suffix `any_suffix`

error: invalid width `123` for integer literal
  --> $DIR/error-stage.rs:75:5
   |
LL |     10u123;
   |     ^^^^^^
   |
   = help: valid widths are 8, 16, 32, 64 and 128

error: invalid width `123` for float literal
  --> $DIR/error-stage.rs:76:5
   |
LL |     10.0f123;
   |     ^^^^^^^^
   |
   = help: valid widths are 32 and 64

error: binary float literal is not supported
  --> $DIR/error-stage.rs:77:5
   |
LL |     0b10f32;
   |     ^^^^^^^ not supported

error: integer literal is too large
  --> $DIR/error-stage.rs:79:5
   |
LL |     999340282366920938463463374607431768211455999;
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 8 previous errors