about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-11-09 19:16:43 +0100
committerGitHub <noreply@github.com>2024-11-09 19:16:43 +0100
commit910ac7eabf861bb44049b13296a422e7edc02b9b (patch)
treedbeffe7954efc3302f952d16272848299c7ad6ab /compiler/rustc_codegen_llvm/src
parent9b50092fdc8ffd40751e5e7efaa689a4e7ac2b56 (diff)
parent9785c7cf94f5e30742f886764f2d25b6a4da66e8 (diff)
downloadrust-910ac7eabf861bb44049b13296a422e7edc02b9b.tar.gz
rust-910ac7eabf861bb44049b13296a422e7edc02b9b.zip
Rollup merge of #132363 - compiler-errors:raw-lt-id-valid, r=wesleywiser
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.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions