2018-12-16 20:23:27 +03:00
|
|
|
#[rustc_attribute_should_be_reserved]
|
2019-09-15 12:55:18 +03:00
|
|
|
//~^ ERROR cannot find attribute `rustc_attribute_should_be_reserved` in this scope
|
2019-06-30 13:00:45 +03:00
|
|
|
//~| ERROR attributes starting with `rustc` are reserved for use by the `rustc` compiler
|
|
|
|
|
2015-03-06 15:10:20 -08:00
|
|
|
macro_rules! foo {
|
|
|
|
() => (());
|
2014-06-20 16:39:23 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {
|
2024-01-27 19:09:55 +08:00
|
|
|
foo!();
|
2014-06-20 16:39:23 -07:00
|
|
|
}
|