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

121 lines
5.2 KiB
Plaintext
Raw Normal View History

2019-04-10 18:40:12 -05:00
error[E0658]: The attribute `fake_attr` is currently unknown to the compiler and may have meaning added to it in the future
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute.rs:7:3
|
2019-03-09 06:03:44 -06:00
LL | #[fake_attr]
| ^^^^^^^^^
|
2019-04-11 13:42:06 -05:00
= note: for more information, see https://github.com/rust-lang/rust/issues/29642
= help: add `#![feature(custom_attribute)]` to the crate attributes to enable
2019-04-10 18:40:12 -05:00
error[E0658]: The attribute `fake_attr` is currently unknown to the compiler and may have meaning added to it in the future
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute.rs:8:3
|
2019-03-09 06:03:44 -06:00
LL | #[fake_attr(100)]
| ^^^^^^^^^
|
2019-04-11 13:42:06 -05:00
= note: for more information, see https://github.com/rust-lang/rust/issues/29642
= help: add `#![feature(custom_attribute)]` to the crate attributes to enable
2019-04-10 18:40:12 -05:00
error[E0658]: The attribute `fake_attr` is currently unknown to the compiler and may have meaning added to it in the future
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute.rs:9:3
|
2019-03-09 06:03:44 -06:00
LL | #[fake_attr(1, 2, 3)]
| ^^^^^^^^^
|
2019-04-11 13:42:06 -05:00
= note: for more information, see https://github.com/rust-lang/rust/issues/29642
= help: add `#![feature(custom_attribute)]` to the crate attributes to enable
2019-04-10 18:40:12 -05:00
error[E0658]: The attribute `fake_attr` is currently unknown to the compiler and may have meaning added to it in the future
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute.rs:10:3
|
2019-03-09 06:03:44 -06:00
LL | #[fake_attr("hello")]
| ^^^^^^^^^
|
2019-04-11 13:42:06 -05:00
= note: for more information, see https://github.com/rust-lang/rust/issues/29642
= help: add `#![feature(custom_attribute)]` to the crate attributes to enable
2019-04-10 18:40:12 -05:00
error[E0658]: The attribute `fake_attr` is currently unknown to the compiler and may have meaning added to it in the future
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute.rs:11:3
|
2019-03-09 06:03:44 -06:00
LL | #[fake_attr(name = "hello")]
| ^^^^^^^^^
|
2019-04-11 13:42:06 -05:00
= note: for more information, see https://github.com/rust-lang/rust/issues/29642
= help: add `#![feature(custom_attribute)]` to the crate attributes to enable
2019-04-10 18:40:12 -05:00
error[E0658]: The attribute `fake_attr` is currently unknown to the compiler and may have meaning added to it in the future
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute.rs:12:3
|
2019-03-09 06:03:44 -06:00
LL | #[fake_attr(1, "hi", key = 12, true, false)]
| ^^^^^^^^^
|
2019-04-11 13:42:06 -05:00
= note: for more information, see https://github.com/rust-lang/rust/issues/29642
= help: add `#![feature(custom_attribute)]` to the crate attributes to enable
2019-04-10 18:40:12 -05:00
error[E0658]: The attribute `fake_attr` is currently unknown to the compiler and may have meaning added to it in the future
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute.rs:13:3
|
2019-03-09 06:03:44 -06:00
LL | #[fake_attr(key = "hello", val = 10)]
| ^^^^^^^^^
|
2019-04-11 13:42:06 -05:00
= note: for more information, see https://github.com/rust-lang/rust/issues/29642
= help: add `#![feature(custom_attribute)]` to the crate attributes to enable
2019-04-10 18:40:12 -05:00
error[E0658]: The attribute `fake_attr` is currently unknown to the compiler and may have meaning added to it in the future
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute.rs:14:3
|
2019-03-09 06:03:44 -06:00
LL | #[fake_attr(key("hello"), val(10))]
| ^^^^^^^^^
|
2019-04-11 13:42:06 -05:00
= note: for more information, see https://github.com/rust-lang/rust/issues/29642
= help: add `#![feature(custom_attribute)]` to the crate attributes to enable
2019-04-10 18:40:12 -05:00
error[E0658]: The attribute `fake_attr` is currently unknown to the compiler and may have meaning added to it in the future
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute.rs:15:3
|
2019-03-09 06:03:44 -06:00
LL | #[fake_attr(enabled = true, disabled = false)]
| ^^^^^^^^^
|
2019-04-11 13:42:06 -05:00
= note: for more information, see https://github.com/rust-lang/rust/issues/29642
= help: add `#![feature(custom_attribute)]` to the crate attributes to enable
2019-04-10 18:40:12 -05:00
error[E0658]: The attribute `fake_attr` is currently unknown to the compiler and may have meaning added to it in the future
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute.rs:16:3
|
2019-03-09 06:03:44 -06:00
LL | #[fake_attr(true)]
| ^^^^^^^^^
|
2019-04-11 13:42:06 -05:00
= note: for more information, see https://github.com/rust-lang/rust/issues/29642
= help: add `#![feature(custom_attribute)]` to the crate attributes to enable
2019-04-10 18:40:12 -05:00
error[E0658]: The attribute `fake_attr` is currently unknown to the compiler and may have meaning added to it in the future
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute.rs:17:3
|
2019-03-09 06:03:44 -06:00
LL | #[fake_attr(pi = 3.14159)]
| ^^^^^^^^^
|
2019-04-11 13:42:06 -05:00
= note: for more information, see https://github.com/rust-lang/rust/issues/29642
= help: add `#![feature(custom_attribute)]` to the crate attributes to enable
2019-04-10 18:40:12 -05:00
error[E0658]: The attribute `fake_attr` is currently unknown to the compiler and may have meaning added to it in the future
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute.rs:18:3
|
2019-03-09 06:03:44 -06:00
LL | #[fake_attr(b"hi")]
| ^^^^^^^^^
|
2019-04-11 13:42:06 -05:00
= note: for more information, see https://github.com/rust-lang/rust/issues/29642
= help: add `#![feature(custom_attribute)]` to the crate attributes to enable
2019-04-10 18:40:12 -05:00
error[E0658]: The attribute `fake_doc` is currently unknown to the compiler and may have meaning added to it in the future
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-custom_attribute.rs:19:3
|
2019-03-09 06:03:44 -06:00
LL | #[fake_doc(r"doc")]
| ^^^^^^^^
|
2019-04-11 13:42:06 -05:00
= note: for more information, see https://github.com/rust-lang/rust/issues/29642
= 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`.