rust/tests/ui/macros/auxiliary/expr_2021_implicit.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
174 B
Rust
Raw Normal View History

2024-06-19 16:33:25 +00:00
//@ edition:2021
#[macro_export]
macro_rules! m {
($expr:expr) => {
compile_error!("did not expect an expression to be parsed");
};
(const { }) => {};
}