mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
910ac7eabf
Enforce that raw lifetimes must be valid raw identifiers Make sure that the identifier part of a raw lifetime is a valid raw identifier. This precludes `'r#_` and all module segment paths for now. I don't believe this is compelling to support. This was raised by `@ehuss` in https://github.com/rust-lang/reference/pull/1603#discussion_r1822726753 (well, specifically the `'r#_` case), but I don't see why we shouldn't just make it consistent with raw identifiers. |
||
---|---|---|
.. | ||
gen-lt.e2024.stderr | ||
gen-lt.rs | ||
immediately-followed-by-lt.rs | ||
immediately-followed-by-lt.stderr | ||
lifetimes-eq.rs | ||
macro-lt.rs | ||
multiple-prefixes.rs | ||
multiple-prefixes.stderr | ||
prim-lt.rs | ||
raw-lt-invalid-raw-id.rs | ||
raw-lt-invalid-raw-id.stderr | ||
simple.rs | ||
static-lt.rs | ||
three-tokens.rs |