about summary refs log tree commit diff
path: root/compiler/rustc_span/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-11-03 06:08:03 +0000
committerbors <bors@rust-lang.org>2023-11-03 06:08:03 +0000
commit1d6f05fd3735efc8f5af2f6278a3391543c2790b (patch)
tree5e28eeb14596d59a637aba914e9d652254859e9a /compiler/rustc_span/src
parent2429818b20e6e67edc7c9d2f33b2dc0e9087b924 (diff)
parentc83f642f12d50dbd998f5064630985306d3021d9 (diff)
downloadrust-1d6f05fd3735efc8f5af2f6278a3391543c2790b.tar.gz
rust-1d6f05fd3735efc8f5af2f6278a3391543c2790b.zip
Auto merge of #116439 - compiler-errors:on-unimplemented, r=davidtwco
Pretty print `Fn` traits in `rustc_on_unimplemented`

I don't think that users really ever should need to think about `Fn*` traits' tupled args for a simple trait error.

r? diagnostics
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 923ee630d95..6a131c0d78b 100644
--- a/compiler/rustc_span/src/symbol.rs
+++ b/compiler/rustc_span/src/symbol.rs
@@ -316,6 +316,7 @@ symbols! {
         ToOwned,
         ToString,
         TokenStream,
+        Trait,
         Try,
         TryCaptureGeneric,
         TryCapturePrintable,