about summary refs log tree commit diff
path: root/tests/ui/lifetimes/raw
AgeCommit message (Collapse)AuthorLines
2025-08-22print raw lifetime idents with `r#`Deadbeef-0/+63
2025-02-10Show diff suggestion format on verbose replacementEsteban Küber-2/+3
``` error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields --> $DIR/attempted-access-non-fatal.rs:7:15 | LL | let _ = 2.l; | ^ | help: if intended to be a floating point literal, consider adding a `0` after the period and a `f64` suffix | LL - let _ = 2.l; LL + let _ = 2.0f64; | ```
2024-12-01Only error raw lifetime followed by \' in edition 2021+Michael Goulet-3/+7
2024-11-28Update more 2024 tests to remove -Zunstable-optionsEric Huss-2/+1
2024-11-09Rollup merge of #132363 - compiler-errors:raw-lt-id-valid, r=wesleywiserMatthias Krüger-0/+52
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.
2024-10-30Enforce that raw lifetime identifiers must be valid raw identifiersMichael Goulet-0/+52
2024-10-30Reject raw lifetime followed by \' as wellMichael Goulet-0/+27
2024-09-06Add some more testsMichael Goulet-0/+105