mirror of
https://github.com/rust-lang/rust.git
synced 2025-09-28 13:46:03 +00:00

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