mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 20:54:13 +00:00
12 lines
334 B
Rust
12 lines
334 B
Rust
#[rustc_attribute_should_be_reserved]
|
|
//~^ ERROR cannot find attribute `rustc_attribute_should_be_reserved` in this scope
|
|
//~| ERROR attributes starting with `rustc` are reserved for use by the `rustc` compiler
|
|
|
|
macro_rules! foo {
|
|
() => (());
|
|
}
|
|
|
|
fn main() {
|
|
foo!(); //~ ERROR cannot determine resolution for the macro `foo`
|
|
}
|