blob: fe2b6de7bb3e2dd6996a0548659edf444b3d27d2 [file] [log] [blame] [edit]
//@ edition: 2021
// Make sure we reject the case where a raw lifetime is immediately followed by another
// lifetime. This reserves a modest amount of space for changing lexing to, for example,
// delay rejection of overlong char literals like `'r#long'id`.
macro_rules! w {
($($tt:tt)*) => {}
}
w!('r#long'id);
//~^ ERROR character literal may only contain one codepoint
fn main() {}