rustc 1.83 lexing regression in the 2015 edition: 'r#x'y (original) (raw)

rustc 1.82 accepts forms like 'r#x'y in the 2015 edition, but rustc 1.83 (beta) rejects them.

As I understand it, #126452 wasn't intended to have any effect on the 2015 edition.

playground

macro_rules! lexes {($($_:tt)*) => {}}

fn main() { lexes!('r#x'y); }

I think this is fallout from the beta-backport of #132341.