|
| 1 | +error: ABI spec with a suffix is invalid |
| 2 | + --> $DIR/bad-lit-suffixes.rs:15:5 |
| 3 | + | |
| 4 | +LL | "C"suffix //~ ERROR ABI spec with a suffix is invalid |
| 5 | + | ^^^^^^^^^ |
| 6 | + |
| 7 | +error: ABI spec with a suffix is invalid |
| 8 | + --> $DIR/bad-lit-suffixes.rs:19:5 |
| 9 | + | |
| 10 | +LL | "C"suffix //~ ERROR ABI spec with a suffix is invalid |
| 11 | + | ^^^^^^^^^ |
| 12 | + |
| 13 | +error: string literal with a suffix is invalid |
| 14 | + --> $DIR/bad-lit-suffixes.rs:23:5 |
| 15 | + | |
| 16 | +LL | ""suffix; //~ ERROR string literal with a suffix is invalid |
| 17 | + | ^^^^^^^^ |
| 18 | + |
| 19 | +error: byte string literal with a suffix is invalid |
| 20 | + --> $DIR/bad-lit-suffixes.rs:24:5 |
| 21 | + | |
| 22 | +LL | b""suffix; //~ ERROR byte string literal with a suffix is invalid |
| 23 | + | ^^^^^^^^^ |
| 24 | + |
| 25 | +error: string literal with a suffix is invalid |
| 26 | + --> $DIR/bad-lit-suffixes.rs:25:5 |
| 27 | + | |
| 28 | +LL | r#""#suffix; //~ ERROR string literal with a suffix is invalid |
| 29 | + | ^^^^^^^^^^^ |
| 30 | + |
| 31 | +error: byte string literal with a suffix is invalid |
| 32 | + --> $DIR/bad-lit-suffixes.rs:26:5 |
| 33 | + | |
| 34 | +LL | br#""#suffix; //~ ERROR byte string literal with a suffix is invalid |
| 35 | + | ^^^^^^^^^^^^ |
| 36 | + |
| 37 | +error: char literal with a suffix is invalid |
| 38 | + --> $DIR/bad-lit-suffixes.rs:27:5 |
| 39 | + | |
| 40 | +LL | 'a'suffix; //~ ERROR char literal with a suffix is invalid |
| 41 | + | ^^^^^^^^^ |
| 42 | + |
| 43 | +error: byte literal with a suffix is invalid |
| 44 | + --> $DIR/bad-lit-suffixes.rs:28:5 |
| 45 | + | |
| 46 | +LL | b'a'suffix; //~ ERROR byte literal with a suffix is invalid |
| 47 | + | ^^^^^^^^^^ |
| 48 | + |
| 49 | +error: invalid width `1024` for integer literal |
| 50 | + --> $DIR/bad-lit-suffixes.rs:30:5 |
| 51 | + | |
| 52 | +LL | 1234u1024; //~ ERROR invalid width `1024` for integer literal |
| 53 | + | ^^^^^^^^^ |
| 54 | + | |
| 55 | + = help: valid widths are 8, 16, 32, 64 and 128 |
| 56 | + |
| 57 | +error: invalid width `1024` for integer literal |
| 58 | + --> $DIR/bad-lit-suffixes.rs:31:5 |
| 59 | + | |
| 60 | +LL | 1234i1024; //~ ERROR invalid width `1024` for integer literal |
| 61 | + | ^^^^^^^^^ |
| 62 | + | |
| 63 | + = help: valid widths are 8, 16, 32, 64 and 128 |
| 64 | + |
| 65 | +error: invalid width `1024` for float literal |
| 66 | + --> $DIR/bad-lit-suffixes.rs:32:5 |
| 67 | + | |
| 68 | +LL | 1234f1024; //~ ERROR invalid width `1024` for float literal |
| 69 | + | ^^^^^^^^^ |
| 70 | + | |
| 71 | + = help: valid widths are 32 and 64 |
| 72 | + |
| 73 | +error: invalid width `1024` for float literal |
| 74 | + --> $DIR/bad-lit-suffixes.rs:33:5 |
| 75 | + | |
| 76 | +LL | 1234.5f1024; //~ ERROR invalid width `1024` for float literal |
| 77 | + | ^^^^^^^^^^^ |
| 78 | + | |
| 79 | + = help: valid widths are 32 and 64 |
| 80 | + |
| 81 | +error: invalid suffix `suffix` for numeric literal |
| 82 | + --> $DIR/bad-lit-suffixes.rs:35:5 |
| 83 | + | |
| 84 | +LL | 1234suffix; //~ ERROR invalid suffix `suffix` for numeric literal |
| 85 | + | ^^^^^^^^^^ |
| 86 | + | |
| 87 | + = help: the suffix must be one of the integral types (`u32`, `isize`, etc) |
| 88 | + |
| 89 | +error: invalid suffix `suffix` for numeric literal |
| 90 | + --> $DIR/bad-lit-suffixes.rs:36:5 |
| 91 | + | |
| 92 | +LL | 0b101suffix; //~ ERROR invalid suffix `suffix` for numeric literal |
| 93 | + | ^^^^^^^^^^^ |
| 94 | + | |
| 95 | + = help: the suffix must be one of the integral types (`u32`, `isize`, etc) |
| 96 | + |
| 97 | +error: invalid suffix `suffix` for float literal |
| 98 | + --> $DIR/bad-lit-suffixes.rs:37:5 |
| 99 | + | |
| 100 | +LL | 1.0suffix; //~ ERROR invalid suffix `suffix` for float literal |
| 101 | + | ^^^^^^^^^ |
| 102 | + | |
| 103 | + = help: valid suffixes are `f32` and `f64` |
| 104 | + |
| 105 | +error: invalid suffix `suffix` for float literal |
| 106 | + --> $DIR/bad-lit-suffixes.rs:38:5 |
| 107 | + | |
| 108 | +LL | 1.0e10suffix; //~ ERROR invalid suffix `suffix` for float literal |
| 109 | + | ^^^^^^^^^^^^ |
| 110 | + | |
| 111 | + = help: valid suffixes are `f32` and `f64` |
| 112 | + |
| 113 | +error: aborting due to 16 previous errors |
| 114 | + |
0 commit comments