about summary refs log tree commit diff
path: root/compiler/rustc_span/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-09-04 13:03:07 +0000
committerbors <bors@rust-lang.org>2022-09-04 13:03:07 +0000
commita2cdcb3fea2baae5d20eabaa412e0d2f5b98c318 (patch)
tree840e2d388bc6200e0042b282b4dd547395bd41ef /compiler/rustc_span/src
parentb11bf65e4aaa125952b6479a63f36e9e83efc32c (diff)
parentedba0c92de737ff6d65255865366e0fddf76780c (diff)
downloadrust-a2cdcb3fea2baae5d20eabaa412e0d2f5b98c318.tar.gz
rust-a2cdcb3fea2baae5d20eabaa412e0d2f5b98c318.zip
Auto merge of #101296 - compiler-errors:head-span-for-enclosing-scope, r=oli-obk
Use head span for `rustc_on_unimplemented`'s `enclosing_scope` attr

This may make #101281 slightly easier to understand
Diffstat (limited to 'compiler/rustc_span/src')
-rw-r--r--compiler/rustc_span/src/symbol.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs
index c501fba21c6..9b4ea4f29ea 100644
--- a/compiler/rustc_span/src/symbol.rs
+++ b/compiler/rustc_span/src/symbol.rs
@@ -662,7 +662,6 @@ symbols! {
         emit_struct,
         emit_struct_field,
         enable,
-        enclosing_scope,
         encode,
         end,
         env,
@@ -1065,6 +1064,7 @@ symbols! {
         panic_unwind,
         panicking,
         param_attrs,
+        parent_label,
         partial_cmp,
         partial_ord,
         passes,