]> git.lizzy.rs Git - rust.git/blob - src/test/ui/reserved/reserved-attr-on-macro.stderr
forward read_c_str method from Memory to Alloc
[rust.git] / src / test / ui / reserved / reserved-attr-on-macro.stderr
1 error[E0658]: unless otherwise specified, attributes with the prefix `rustc_` are reserved for internal compiler diagnostics
2   --> $DIR/reserved-attr-on-macro.rs:1:3
3    |
4 LL | #[rustc_attribute_should_be_reserved]
5    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = note: for more information, see https://github.com/rust-lang/rust/issues/29642
8    = help: add #![feature(rustc_attrs)] to the crate attributes to enable
9
10 error: cannot determine resolution for the macro `foo`
11   --> $DIR/reserved-attr-on-macro.rs:8:5
12    |
13 LL |     foo!();
14    |     ^^^
15    |
16    = note: import resolution is stuck, try simplifying macro imports
17
18 error: aborting due to 2 previous errors
19
20 For more information about this error, try `rustc --explain E0658`.