rust/src/test/ui/feature-gates/feature-gate-custom_attribute.stderr

108 lines
5.0 KiB
Plaintext
Raw Normal View History

error[E0658]: The attribute `fake_attr` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute.rs:7:3
|
2018-02-22 18:42:32 -06:00
LL | #[fake_attr] //~ ERROR attribute `fake_attr` is currently unknown
| ^^^^^^^^^
|
= help: add #![feature(custom_attribute)] to the crate attributes to enable
error[E0658]: The attribute `fake_attr` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute.rs:8:3
|
2018-02-22 18:42:32 -06:00
LL | #[fake_attr(100)] //~ ERROR attribute `fake_attr` is currently unknown
| ^^^^^^^^^
|
= help: add #![feature(custom_attribute)] to the crate attributes to enable
error[E0658]: The attribute `fake_attr` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute.rs:9:3
|
2018-02-22 18:42:32 -06:00
LL | #[fake_attr(1, 2, 3)] //~ ERROR attribute `fake_attr` is currently unknown
| ^^^^^^^^^
|
= help: add #![feature(custom_attribute)] to the crate attributes to enable
error[E0658]: The attribute `fake_attr` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute.rs:10:3
|
2018-02-22 18:42:32 -06:00
LL | #[fake_attr("hello")] //~ ERROR attribute `fake_attr` is currently unknown
| ^^^^^^^^^
|
= help: add #![feature(custom_attribute)] to the crate attributes to enable
error[E0658]: The attribute `fake_attr` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute.rs:11:3
|
2018-02-22 18:42:32 -06:00
LL | #[fake_attr(name = "hello")] //~ ERROR attribute `fake_attr` is currently unknown
| ^^^^^^^^^
|
= help: add #![feature(custom_attribute)] to the crate attributes to enable
error[E0658]: The attribute `fake_attr` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute.rs:12:3
|
2018-02-22 18:42:32 -06:00
LL | #[fake_attr(1, "hi", key = 12, true, false)] //~ ERROR attribute `fake_attr` is currently unknown
| ^^^^^^^^^
|
= help: add #![feature(custom_attribute)] to the crate attributes to enable
error[E0658]: The attribute `fake_attr` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute.rs:13:3
|
2018-02-22 18:42:32 -06:00
LL | #[fake_attr(key = "hello", val = 10)] //~ ERROR attribute `fake_attr` is currently unknown
| ^^^^^^^^^
|
= help: add #![feature(custom_attribute)] to the crate attributes to enable
error[E0658]: The attribute `fake_attr` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute.rs:14:3
|
2018-02-22 18:42:32 -06:00
LL | #[fake_attr(key("hello"), val(10))] //~ ERROR attribute `fake_attr` is currently unknown
| ^^^^^^^^^
|
= help: add #![feature(custom_attribute)] to the crate attributes to enable
error[E0658]: The attribute `fake_attr` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute.rs:15:3
|
2018-02-22 18:42:32 -06:00
LL | #[fake_attr(enabled = true, disabled = false)] //~ ERROR attribute `fake_attr` is currently unknown
| ^^^^^^^^^
|
= help: add #![feature(custom_attribute)] to the crate attributes to enable
error[E0658]: The attribute `fake_attr` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute.rs:16:3
|
2018-02-22 18:42:32 -06:00
LL | #[fake_attr(true)] //~ ERROR attribute `fake_attr` is currently unknown
| ^^^^^^^^^
|
= help: add #![feature(custom_attribute)] to the crate attributes to enable
error[E0658]: The attribute `fake_attr` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute.rs:17:3
|
2018-02-22 18:42:32 -06:00
LL | #[fake_attr(pi = 3.14159)] //~ ERROR attribute `fake_attr` is currently unknown
| ^^^^^^^^^
|
= help: add #![feature(custom_attribute)] to the crate attributes to enable
error[E0658]: The attribute `fake_attr` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute.rs:18:3
|
2018-02-22 18:42:32 -06:00
LL | #[fake_attr(b"hi")] //~ ERROR attribute `fake_attr` is currently unknown
| ^^^^^^^^^
|
= help: add #![feature(custom_attribute)] to the crate attributes to enable
error[E0658]: The attribute `fake_doc` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute.rs:19:3
|
2018-02-22 18:42:32 -06:00
LL | #[fake_doc(r"doc")] //~ ERROR attribute `fake_doc` is currently unknown
| ^^^^^^^^
|
= help: add #![feature(custom_attribute)] to the crate attributes to enable
error: aborting due to 13 previous errors
2018-03-03 08:59:40 -06:00
For more information about this error, try `rustc --explain E0658`.