diff options
| author | Cameron Steffen <cam.steffen94@gmail.com> | 2021-09-21 00:56:45 -0500 |
|---|---|---|
| committer | Cameron Steffen <cam.steffen94@gmail.com> | 2021-09-21 10:04:44 -0500 |
| commit | 09b37d743328bd497939bd27135f82350f1b0bd7 (patch) | |
| tree | 48d14423db8c6c1d1fcd2049f25dc5b88db024c8 /compiler/rustc_span/src | |
| parent | db1fb85cff63ad5fffe435e17128f99f9e1d970c (diff) | |
| download | rust-09b37d743328bd497939bd27135f82350f1b0bd7.tar.gz rust-09b37d743328bd497939bd27135f82350f1b0bd7.zip | |
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.
Diffstat (limited to 'compiler/rustc_span/src')
| -rw-r--r-- | compiler/rustc_span/src/symbol.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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, |
