From 09b37d743328bd497939bd27135f82350f1b0bd7 Mon Sep 17 00:00:00 2001 From: Cameron Steffen Date: Tue, 21 Sep 2021 00:56:45 -0500 Subject: Use ZST for fmt unsafety This allows the format_args! macro to keep the pre-expansion code out of the unsafe block without doing gymnastics with nested `match` expressions. This reduces codegen. --- compiler/rustc_span/src/symbol.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler/rustc_span/src') diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs index 322bea3806c..be6f5fc2978 100644 --- a/compiler/rustc_span/src/symbol.rs +++ b/compiler/rustc_span/src/symbol.rs @@ -253,6 +253,7 @@ symbols! { TyCtxt, TyKind, Unknown, + UnsafeArg, Vec, Yield, _DECLS, -- cgit 1.4.1-3-g733a5