diff options
| author | Ralf Jung <post@ralfj.de> | 2021-02-16 09:59:38 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2021-02-16 09:59:38 +0100 |
| commit | b08bc7836be6a53e733190f3174128fe8d005737 (patch) | |
| tree | e865401de633bf0c143c1f6858b8ec4c595ae495 /compiler/rustc_mir/src/interpret/operand.rs | |
| parent | 090dac0c3892a2d21afb0f82aa72920760e08078 (diff) | |
| download | rust-b08bc7836be6a53e733190f3174128fe8d005737.tar.gz rust-b08bc7836be6a53e733190f3174128fe8d005737.zip | |
fix MIR fn-ptr pretty-printing
Diffstat (limited to 'compiler/rustc_mir/src/interpret/operand.rs')
| -rw-r--r-- | compiler/rustc_mir/src/interpret/operand.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir/src/interpret/operand.rs b/compiler/rustc_mir/src/interpret/operand.rs index 88236458a21..4b131ecb863 100644 --- a/compiler/rustc_mir/src/interpret/operand.rs +++ b/compiler/rustc_mir/src/interpret/operand.rs @@ -106,7 +106,7 @@ impl<Tag: Copy> std::fmt::Display for ImmTy<'tcx, Tag> { } ScalarMaybeUninit::Uninit => cx.typed_value( |mut this| { - this.write_str("{uninit ")?; + this.write_str("uninit ")?; Ok(this) }, |this| this.print_type(ty), |
