mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 00:03:43 +00:00
cee88f7a3f
Current places where `Interpolated` is used are going to change to instead use invisible delimiters. This prepares for that. - It adds invisible delimiter cases to the `can_begin_*`/`may_be_*` methods and the `failed_to_match_macro` that are equivalent to the existing `Interpolated` cases. - It adds panics/asserts in some places where invisible delimiters should never occur. - In `Parser::parse_struct_fields` it excludes an ident + invisible delimiter from special consideration in an error message, because that's quite different to an ident + paren/brace/bracket. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |