about summary refs log tree commit diff
path: root/compiler/rustc_span/src
diff options
context:
space:
mode:
authorJubilee <46493976+workingjubilee@users.noreply.github.com>2021-10-07 20:26:15 -0700
committerGitHub <noreply@github.com>2021-10-07 20:26:15 -0700
commit30e068f58b46d42b0e71b5112ceb2193f376ecc2 (patch)
tree87a0b8e620cbce6d2a0880a6b84c6bac22cfcb41 /compiler/rustc_span/src
parentaed18018410ea09de7924938e15f877bc3df4a71 (diff)
parentfcd9fa9099569beba9c85c594ecbb9b07a1a7501 (diff)
downloadrust-30e068f58b46d42b0e71b5112ceb2193f376ecc2.tar.gz
rust-30e068f58b46d42b0e71b5112ceb2193f376ecc2.zip
Rollup merge of #89622 - m-ou-se:debug-assert-2021, r=estebank
Use correct edition for panic in [debug_]assert!().

See https://github.com/rust-lang/rust/issues/88638#issuecomment-915472783
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 382dbc377d6..0e30e154ee5 100644
--- a/compiler/rustc_span/src/symbol.rs
+++ b/compiler/rustc_span/src/symbol.rs
@@ -570,6 +570,7 @@ symbols! {
         dyn_metadata,
         dyn_trait,
         edition_macro_pats,
+        edition_panic,
         eh_catch_typeinfo,
         eh_personality,
         emit_enum,