mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
13 lines
212 B
Rust
13 lines
212 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() {}
|