rust/tests/ui/attributes/suffixed-literal-meta.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

99 lines
3.3 KiB
Plaintext
Raw Normal View History

2018-08-08 12:28:26 +00:00
error: suffixed literals are not allowed in attributes
--> $DIR/suffixed-literal-meta.rs:3:17
2018-08-08 12:28:26 +00:00
|
LL | #[rustc_dummy = 1usize]
| ^^^^^^
2018-08-08 12:28:26 +00:00
|
2020-01-10 14:57:36 +00:00
= help: instead of using a suffixed literal (`1u8`, `1.0f32`, etc.), use an unsuffixed version (`1`, `1.0`, etc.)
2018-08-08 12:28:26 +00:00
error: suffixed literals are not allowed in attributes
--> $DIR/suffixed-literal-meta.rs:4:17
2018-08-08 12:28:26 +00:00
|
LL | #[rustc_dummy = 1u8]
| ^^^
2018-08-08 12:28:26 +00:00
|
2020-01-10 14:57:36 +00:00
= help: instead of using a suffixed literal (`1u8`, `1.0f32`, etc.), use an unsuffixed version (`1`, `1.0`, etc.)
2018-08-08 12:28:26 +00:00
2020-01-08 17:02:10 +00:00
error: suffixed literals are not allowed in attributes
--> $DIR/suffixed-literal-meta.rs:5:17
|
LL | #[rustc_dummy = 1u16]
| ^^^^
|
2020-01-10 14:57:36 +00:00
= help: instead of using a suffixed literal (`1u8`, `1.0f32`, etc.), use an unsuffixed version (`1`, `1.0`, etc.)
2020-01-08 17:02:10 +00:00
error: suffixed literals are not allowed in attributes
--> $DIR/suffixed-literal-meta.rs:6:17
2020-01-08 17:02:10 +00:00
|
LL | #[rustc_dummy = 1u32]
| ^^^^
|
2020-01-10 14:57:36 +00:00
= help: instead of using a suffixed literal (`1u8`, `1.0f32`, etc.), use an unsuffixed version (`1`, `1.0`, etc.)
2020-01-08 17:02:10 +00:00
error: suffixed literals are not allowed in attributes
--> $DIR/suffixed-literal-meta.rs:7:17
2020-01-08 17:02:10 +00:00
|
LL | #[rustc_dummy = 1u64]
| ^^^^
|
2020-01-10 14:57:36 +00:00
= help: instead of using a suffixed literal (`1u8`, `1.0f32`, etc.), use an unsuffixed version (`1`, `1.0`, etc.)
2020-01-08 17:02:10 +00:00
2018-08-08 12:28:26 +00:00
error: suffixed literals are not allowed in attributes
--> $DIR/suffixed-literal-meta.rs:8:17
2018-08-08 12:28:26 +00:00
|
2020-01-08 17:02:10 +00:00
LL | #[rustc_dummy = 1isize]
| ^^^^^^
|
2020-01-10 14:57:36 +00:00
= help: instead of using a suffixed literal (`1u8`, `1.0f32`, etc.), use an unsuffixed version (`1`, `1.0`, etc.)
2020-01-08 17:02:10 +00:00
error: suffixed literals are not allowed in attributes
--> $DIR/suffixed-literal-meta.rs:9:17
2020-01-08 17:02:10 +00:00
|
LL | #[rustc_dummy = 1i8]
| ^^^
|
2020-01-10 14:57:36 +00:00
= help: instead of using a suffixed literal (`1u8`, `1.0f32`, etc.), use an unsuffixed version (`1`, `1.0`, etc.)
2020-01-08 17:02:10 +00:00
error: suffixed literals are not allowed in attributes
--> $DIR/suffixed-literal-meta.rs:10:17
2020-01-08 17:02:10 +00:00
|
LL | #[rustc_dummy = 1i16]
| ^^^^
|
2020-01-10 14:57:36 +00:00
= help: instead of using a suffixed literal (`1u8`, `1.0f32`, etc.), use an unsuffixed version (`1`, `1.0`, etc.)
2020-01-08 17:02:10 +00:00
error: suffixed literals are not allowed in attributes
--> $DIR/suffixed-literal-meta.rs:11:17
2020-01-08 17:02:10 +00:00
|
LL | #[rustc_dummy = 1i32]
| ^^^^
|
2020-01-10 14:57:36 +00:00
= help: instead of using a suffixed literal (`1u8`, `1.0f32`, etc.), use an unsuffixed version (`1`, `1.0`, etc.)
2020-01-08 17:02:10 +00:00
error: suffixed literals are not allowed in attributes
--> $DIR/suffixed-literal-meta.rs:12:17
2020-01-08 17:02:10 +00:00
|
LL | #[rustc_dummy = 1i64]
| ^^^^
|
2020-01-10 14:57:36 +00:00
= help: instead of using a suffixed literal (`1u8`, `1.0f32`, etc.), use an unsuffixed version (`1`, `1.0`, etc.)
2020-01-08 17:02:10 +00:00
error: suffixed literals are not allowed in attributes
--> $DIR/suffixed-literal-meta.rs:13:17
2020-01-08 17:02:10 +00:00
|
LL | #[rustc_dummy = 1.0f32]
| ^^^^^^
2018-08-08 12:28:26 +00:00
|
2020-01-10 14:57:36 +00:00
= help: instead of using a suffixed literal (`1u8`, `1.0f32`, etc.), use an unsuffixed version (`1`, `1.0`, etc.)
2018-08-08 12:28:26 +00:00
error: suffixed literals are not allowed in attributes
--> $DIR/suffixed-literal-meta.rs:14:17
2018-08-08 12:28:26 +00:00
|
LL | #[rustc_dummy = 1.0f64]
| ^^^^^^
2018-08-08 12:28:26 +00:00
|
2020-01-10 14:57:36 +00:00
= help: instead of using a suffixed literal (`1u8`, `1.0f32`, etc.), use an unsuffixed version (`1`, `1.0`, etc.)
2018-08-08 12:28:26 +00:00
error: aborting due to 12 previous errors
2018-08-08 12:28:26 +00:00