99 lines
3.1 KiB
Plaintext
99 lines
3.1 KiB
Plaintext
error: suffixed literals are not allowed in attributes
|
|
--> $DIR/suffixed-literal-meta.rs:3:13
|
|
|
|
|
LL | #[my_attr = 1usize]
|
|
| ^^^^^^
|
|
|
|
|
= help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
|
|
|
|
error: suffixed literals are not allowed in attributes
|
|
--> $DIR/suffixed-literal-meta.rs:4:13
|
|
|
|
|
LL | #[my_attr = 1u8]
|
|
| ^^^
|
|
|
|
|
= help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
|
|
|
|
error: suffixed literals are not allowed in attributes
|
|
--> $DIR/suffixed-literal-meta.rs:5:13
|
|
|
|
|
LL | #[my_attr = 1u16]
|
|
| ^^^^
|
|
|
|
|
= help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
|
|
|
|
error: suffixed literals are not allowed in attributes
|
|
--> $DIR/suffixed-literal-meta.rs:6:13
|
|
|
|
|
LL | #[my_attr = 1u32]
|
|
| ^^^^
|
|
|
|
|
= help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
|
|
|
|
error: suffixed literals are not allowed in attributes
|
|
--> $DIR/suffixed-literal-meta.rs:7:13
|
|
|
|
|
LL | #[my_attr = 1u64]
|
|
| ^^^^
|
|
|
|
|
= help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
|
|
|
|
error: suffixed literals are not allowed in attributes
|
|
--> $DIR/suffixed-literal-meta.rs:8:13
|
|
|
|
|
LL | #[my_attr = 1isize]
|
|
| ^^^^^^
|
|
|
|
|
= help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
|
|
|
|
error: suffixed literals are not allowed in attributes
|
|
--> $DIR/suffixed-literal-meta.rs:9:13
|
|
|
|
|
LL | #[my_attr = 1i8]
|
|
| ^^^
|
|
|
|
|
= help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
|
|
|
|
error: suffixed literals are not allowed in attributes
|
|
--> $DIR/suffixed-literal-meta.rs:10:13
|
|
|
|
|
LL | #[my_attr = 1i16]
|
|
| ^^^^
|
|
|
|
|
= help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
|
|
|
|
error: suffixed literals are not allowed in attributes
|
|
--> $DIR/suffixed-literal-meta.rs:11:13
|
|
|
|
|
LL | #[my_attr = 1i32]
|
|
| ^^^^
|
|
|
|
|
= help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
|
|
|
|
error: suffixed literals are not allowed in attributes
|
|
--> $DIR/suffixed-literal-meta.rs:12:13
|
|
|
|
|
LL | #[my_attr = 1i64]
|
|
| ^^^^
|
|
|
|
|
= help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
|
|
|
|
error: suffixed literals are not allowed in attributes
|
|
--> $DIR/suffixed-literal-meta.rs:13:13
|
|
|
|
|
LL | #[my_attr = 1.0f32]
|
|
| ^^^^^^
|
|
|
|
|
= help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
|
|
|
|
error: suffixed literals are not allowed in attributes
|
|
--> $DIR/suffixed-literal-meta.rs:14:13
|
|
|
|
|
LL | #[my_attr = 1.0f64]
|
|
| ^^^^^^
|
|
|
|
|
= help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
|
|
|
|
error: aborting due to 12 previous errors
|
|
|