Open
Description
@m-ou-se raised a point on rust-lang/rfcs#3101 that needs to be resolved in some way:
Since this makes the lexer edition-dependent, what will this mean for
proc_macro::TokenStream::from_str
? That takes a string without any span/edition info. Does it use the edition of the proc macro crate? Or of the crate the proc macro was invoked from? (And if so, what does that mean if it was invoked by a macro_rules macro from an edition 2018 crate which was in turn invoked from a 2021 crate?) Or does it always use the latest edition?