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