1 error[E0658]: non-string literals in attributes, or string literals in top-level positions, are experimental (see issue #34981)
2 --> $DIR/gated-attr-literals.rs:18:1
7 = help: add #![feature(attr_literals)] to the crate attributes to enable
9 error[E0658]: non-string literals in attributes, or string literals in top-level positions, are experimental (see issue #34981)
10 --> $DIR/gated-attr-literals.rs:20:1
12 LL | #[fake_attr(1, 2, 3)]
13 | ^^^^^^^^^^^^^^^^^^^^^
15 = help: add #![feature(attr_literals)] to the crate attributes to enable
17 error[E0658]: non-string literals in attributes, or string literals in top-level positions, are experimental (see issue #34981)
18 --> $DIR/gated-attr-literals.rs:22:1
20 LL | #[fake_attr("hello")]
21 | ^^^^^^^^^^^^^^^^^^^^^
23 = help: add #![feature(attr_literals)] to the crate attributes to enable
25 error[E0658]: non-string literals in attributes, or string literals in top-level positions, are experimental (see issue #34981)
26 --> $DIR/gated-attr-literals.rs:25:1
28 LL | #[fake_attr(1, "hi", key = 12, true, false)]
29 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
31 = help: add #![feature(attr_literals)] to the crate attributes to enable
33 error[E0658]: non-string literals in attributes, or string literals in top-level positions, are experimental (see issue #34981)
34 --> $DIR/gated-attr-literals.rs:27:1
36 LL | #[fake_attr(key = "hello", val = 10)]
37 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
39 = help: add #![feature(attr_literals)] to the crate attributes to enable
41 error[E0658]: non-string literals in attributes, or string literals in top-level positions, are experimental (see issue #34981)
42 --> $DIR/gated-attr-literals.rs:29:1
44 LL | #[fake_attr(key("hello"), val(10))]
45 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
47 = help: add #![feature(attr_literals)] to the crate attributes to enable
49 error[E0658]: non-string literals in attributes, or string literals in top-level positions, are experimental (see issue #34981)
50 --> $DIR/gated-attr-literals.rs:31:1
52 LL | #[fake_attr(enabled = true, disabled = false)]
53 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
55 = help: add #![feature(attr_literals)] to the crate attributes to enable
57 error[E0658]: non-string literals in attributes, or string literals in top-level positions, are experimental (see issue #34981)
58 --> $DIR/gated-attr-literals.rs:33:1
60 LL | #[fake_attr(true)]
63 = help: add #![feature(attr_literals)] to the crate attributes to enable
65 error[E0658]: non-string literals in attributes, or string literals in top-level positions, are experimental (see issue #34981)
66 --> $DIR/gated-attr-literals.rs:35:1
68 LL | #[fake_attr(pi = 3.14159)]
69 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
71 = help: add #![feature(attr_literals)] to the crate attributes to enable
73 error[E0658]: non-string literals in attributes, or string literals in top-level positions, are experimental (see issue #34981)
74 --> $DIR/gated-attr-literals.rs:37:1
76 LL | #[fake_attr(b"hi")]
79 = help: add #![feature(attr_literals)] to the crate attributes to enable
81 error[E0658]: non-string literals in attributes, or string literals in top-level positions, are experimental (see issue #34981)
82 --> $DIR/gated-attr-literals.rs:39:1
84 LL | #[fake_doc(r"doc")]
87 = help: add #![feature(attr_literals)] to the crate attributes to enable
89 error: aborting due to 11 previous errors
91 For more information about this error, try `rustc --explain E0658`.