about summary refs log tree commit diff
path: root/compiler/rustc_span/src
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2025-04-11 15:28:09 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2025-04-11 20:13:16 +1000
commitcdf5b8d4e77d53e13eb7996d1b8d546c2af618a6 (patch)
treea6ad7ab0296a6e1feb37e2a6f82eb5a82dd14bd6 /compiler/rustc_span/src
parent9eca59a94021089905c482011a2d88ee9b862a73 (diff)
downloadrust-cdf5b8d4e77d53e13eb7996d1b8d546c2af618a6.tar.gz
rust-cdf5b8d4e77d53e13eb7996d1b8d546c2af618a6.zip
Change how anonymous associated types are printed.
Give them their own symbol `anon_assoc`, as is done for all the other
anonymous `DefPathData` variants.
Diffstat (limited to 'compiler/rustc_span/src')
-rw-r--r--compiler/rustc_span/src/symbol.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs
index 31847ae3b46..44aa7576cd0 100644
--- a/compiler/rustc_span/src/symbol.rs
+++ b/compiler/rustc_span/src/symbol.rs
@@ -454,6 +454,7 @@ symbols! {
         and_then,
         anon,
         anon_adt,
+        anon_assoc,
         anonymous_lifetime_in_impl_trait,
         any,
         append_const_msg,