diff options
| author | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2025-05-07 20:52:08 +0200 |
|---|---|---|
| committer | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2025-05-07 22:17:29 +0200 |
| commit | 5913e55dfc3c473f6c28f5a341850574aff1f685 (patch) | |
| tree | c3cd7b8e64f4657800bbc0a0d9f1f7e3df815e00 /compiler/rustc_symbol_mangling/src | |
| parent | db0e836148accac8a22532e3596ac612b63c2d8e (diff) | |
| download | rust-5913e55dfc3c473f6c28f5a341850574aff1f685.tar.gz rust-5913e55dfc3c473f6c28f5a341850574aff1f685.zip | |
Add `DefPathData::OpaqueLifetime` to avoid conflicts for remapped opaque lifetimes
Diffstat (limited to 'compiler/rustc_symbol_mangling/src')
| -rw-r--r-- | compiler/rustc_symbol_mangling/src/v0.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_symbol_mangling/src/v0.rs b/compiler/rustc_symbol_mangling/src/v0.rs index 1f45440eecf..4a99ce09b39 100644 --- a/compiler/rustc_symbol_mangling/src/v0.rs +++ b/compiler/rustc_symbol_mangling/src/v0.rs @@ -890,6 +890,7 @@ impl<'tcx> Printer<'tcx> for SymbolMangler<'tcx> { | DefPathData::Impl | DefPathData::MacroNs(_) | DefPathData::LifetimeNs(_) + | DefPathData::OpaqueLifetime(_) | DefPathData::AnonAssocTy(..) => { bug!("symbol_names: unexpected DefPathData: {:?}", disambiguated_data.data) } |
