]> git.proxmox.com Git - rustc.git/blame - src/test/ui/attributes/suffixed-literal-meta.stderr
New upstream version 1.58.1+dfsg1
[rustc.git] / src / test / ui / attributes / suffixed-literal-meta.stderr
CommitLineData
b7449926 1error: suffixed literals are not allowed in attributes
dc9dc135 2 --> $DIR/suffixed-literal-meta.rs:3:17
b7449926 3 |
dc9dc135
XL
4LL | #[rustc_dummy = 1usize]
5 | ^^^^^^
b7449926 6 |
dfeec247 7 = help: instead of using a suffixed literal (`1u8`, `1.0f32`, etc.), use an unsuffixed version (`1`, `1.0`, etc.)
b7449926
XL
8
9error: suffixed literals are not allowed in attributes
fc512014 10 --> $DIR/suffixed-literal-meta.rs:4:17
b7449926 11 |
dc9dc135
XL
12LL | #[rustc_dummy = 1u8]
13 | ^^^
b7449926 14 |
dfeec247 15 = help: instead of using a suffixed literal (`1u8`, `1.0f32`, etc.), use an unsuffixed version (`1`, `1.0`, etc.)
b7449926 16
dfeec247
XL
17error: suffixed literals are not allowed in attributes
18 --> $DIR/suffixed-literal-meta.rs:5:17
19 |
dfeec247
XL
20LL | #[rustc_dummy = 1u16]
21 | ^^^^
22 |
23 = help: instead of using a suffixed literal (`1u8`, `1.0f32`, etc.), use an unsuffixed version (`1`, `1.0`, etc.)
24
25error: suffixed literals are not allowed in attributes
fc512014 26 --> $DIR/suffixed-literal-meta.rs:6:17
dfeec247
XL
27 |
28LL | #[rustc_dummy = 1u32]
29 | ^^^^
30 |
31 = help: instead of using a suffixed literal (`1u8`, `1.0f32`, etc.), use an unsuffixed version (`1`, `1.0`, etc.)
32
33error: suffixed literals are not allowed in attributes
fc512014 34 --> $DIR/suffixed-literal-meta.rs:7:17
dfeec247
XL
35 |
36LL | #[rustc_dummy = 1u64]
37 | ^^^^
38 |
39 = help: instead of using a suffixed literal (`1u8`, `1.0f32`, etc.), use an unsuffixed version (`1`, `1.0`, etc.)
b7449926
XL
40
41error: suffixed literals are not allowed in attributes
fc512014 42 --> $DIR/suffixed-literal-meta.rs:8:17
b7449926 43 |
dfeec247
XL
44LL | #[rustc_dummy = 1isize]
45 | ^^^^^^
46 |
47 = help: instead of using a suffixed literal (`1u8`, `1.0f32`, etc.), use an unsuffixed version (`1`, `1.0`, etc.)
48
49error: suffixed literals are not allowed in attributes
fc512014 50 --> $DIR/suffixed-literal-meta.rs:9:17
dfeec247
XL
51 |
52LL | #[rustc_dummy = 1i8]
53 | ^^^
54 |
55 = help: instead of using a suffixed literal (`1u8`, `1.0f32`, etc.), use an unsuffixed version (`1`, `1.0`, etc.)
56
57error: suffixed literals are not allowed in attributes
fc512014 58 --> $DIR/suffixed-literal-meta.rs:10:17
dfeec247
XL
59 |
60LL | #[rustc_dummy = 1i16]
61 | ^^^^
62 |
63 = help: instead of using a suffixed literal (`1u8`, `1.0f32`, etc.), use an unsuffixed version (`1`, `1.0`, etc.)
64
65error: suffixed literals are not allowed in attributes
fc512014 66 --> $DIR/suffixed-literal-meta.rs:11:17
dfeec247
XL
67 |
68LL | #[rustc_dummy = 1i32]
69 | ^^^^
70 |
71 = help: instead of using a suffixed literal (`1u8`, `1.0f32`, etc.), use an unsuffixed version (`1`, `1.0`, etc.)
72
73error: suffixed literals are not allowed in attributes
fc512014 74 --> $DIR/suffixed-literal-meta.rs:12:17
dfeec247
XL
75 |
76LL | #[rustc_dummy = 1i64]
77 | ^^^^
78 |
79 = help: instead of using a suffixed literal (`1u8`, `1.0f32`, etc.), use an unsuffixed version (`1`, `1.0`, etc.)
80
81error: suffixed literals are not allowed in attributes
fc512014 82 --> $DIR/suffixed-literal-meta.rs:13:17
dfeec247 83 |
dc9dc135
XL
84LL | #[rustc_dummy = 1.0f32]
85 | ^^^^^^
b7449926 86 |
dfeec247 87 = help: instead of using a suffixed literal (`1u8`, `1.0f32`, etc.), use an unsuffixed version (`1`, `1.0`, etc.)
b7449926
XL
88
89error: suffixed literals are not allowed in attributes
fc512014 90 --> $DIR/suffixed-literal-meta.rs:14:17
b7449926 91 |
dc9dc135
XL
92LL | #[rustc_dummy = 1.0f64]
93 | ^^^^^^
b7449926 94 |
dfeec247 95 = help: instead of using a suffixed literal (`1u8`, `1.0f32`, etc.), use an unsuffixed version (`1`, `1.0`, etc.)
b7449926 96
fc512014 97error: aborting due to 12 previous errors
b7449926 98