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.
This commit is contained in:
parent
db1fb85cff
commit
09b37d7433
8 changed files with 108 additions and 100 deletions
|
@ -253,6 +253,7 @@ symbols! {
|
|||
TyCtxt,
|
||||
TyKind,
|
||||
Unknown,
|
||||
UnsafeArg,
|
||||
Vec,
|
||||
Yield,
|
||||
_DECLS,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue