about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src
diff options
context:
space:
mode:
authorJubilee <workingjubilee@gmail.com>2024-08-28 19:12:54 -0700
committerGitHub <noreply@github.com>2024-08-28 19:12:54 -0700
commit472d164a4959adffb3596e99ff4ef9b414c8c4a3 (patch)
treee3d6fbdcd0d992f7bdbfd74d94e24fe316fb522a /compiler/rustc_mir_transform/src
parentdfe66cf529457dc8aaf71c487b0e8eee8e32d0d8 (diff)
parent19296ca23c08d2f272f1f0ccbafa94f6c00984c1 (diff)
downloadrust-472d164a4959adffb3596e99ff4ef9b414c8c4a3.tar.gz
rust-472d164a4959adffb3596e99ff4ef9b414c8c4a3.zip
Rollup merge of #129689 - compiler-errors:impl-lifetime, r=michaelwoerister
Move `'tcx` lifetime off of impl and onto methods for `CrateMetadataRef`

Unconstrained type and const variables are not allowed, but unconstrained lifetimes are. This is not very good style, though, and it leads to unnecessary captures of a lifetime in edition 2024 (not that it matters, but it does trigger the edition migration lint).
Diffstat (limited to 'compiler/rustc_mir_transform/src')
0 files changed, 0 insertions, 0 deletions