mirror of
https://github.com/rust-lang/rust.git
synced 2025-09-28 21:55:31 +00:00

This handles various kinds of errors, but does not allow applying the attributes yet. This adds the feature gate `macro_attr`.
5 lines
114 B
Rust
5 lines
114 B
Rust
#![crate_type = "lib"]
|
|
|
|
macro_rules! myattr { attr() {} => {} }
|
|
//~^ ERROR `macro_rules!` attributes are unstable
|