mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 22:41:50 +00:00
14 lines
211 B
Rust
14 lines
211 B
Rust
|
// check-pass
|
||
|
|
||
|
macro_rules! dont_recover_here {
|
||
|
($e:expr) => {
|
||
|
compile_error!("Must not recover to single !1 expr");
|
||
|
};
|
||
|
|
||
|
(not $a:literal) => {};
|
||
|
}
|
||
|
|
||
|
dont_recover_here! { not 1 }
|
||
|
|
||
|
fn main() {}
|