]> git.lizzy.rs Git - rust.git/blob - src/test/ui/reserved/reserved-attr-on-macro.rs
resolve: Tweak "cannot find" wording for attributes
[rust.git] / src / test / ui / reserved / reserved-attr-on-macro.rs
1 #[rustc_attribute_should_be_reserved]
2 //~^ ERROR cannot find attribute `rustc_attribute_should_be_reserved` in this scope
3 //~| ERROR attributes starting with `rustc` are reserved for use by the `rustc` compiler
4
5 macro_rules! foo {
6     () => (());
7 }
8
9 fn main() {
10     foo!(); //~ ERROR cannot determine resolution for the macro `foo`
11 }