Closed dtolnay closed 2 years ago
This doesn't immediately do much by itself, but what we'll want to do is add some kind of from_str_unchecked to proc-macro2's Literal type, which can completely skip the parsing (i.e. validating) in the non-macro codepath.
from_str_unchecked
This doesn't immediately do much by itself, but what we'll want to do is add some kind of
from_str_unchecked
to proc-macro2's Literal type, which can completely skip the parsing (i.e. validating) in the non-macro codepath.