diff options
| author | Johannes Schilling <dario@deaktualisierung.org> | 2021-04-21 14:09:15 +0200 |
|---|---|---|
| committer | Johannes Schilling <dario@deaktualisierung.org> | 2021-04-21 14:09:15 +0200 |
| commit | b9a1e693a77b626aade2cc95f549b4b6e6029097 (patch) | |
| tree | 708b7abb990e1006fc4a366a9f5e3d5830ad9cda /compiler/rustc_middle/src/mir | |
| parent | 6df26f897cffb2d86880544bb451c6b5f8509b2d (diff) | |
| download | rust-b9a1e693a77b626aade2cc95f549b4b6e6029097.tar.gz rust-b9a1e693a77b626aade2cc95f549b4b6e6029097.zip | |
Make AssertKind::fmt_assert_args public
Diffstat (limited to 'compiler/rustc_middle/src/mir')
| -rw-r--r-- | compiler/rustc_middle/src/mir/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/mir/mod.rs b/compiler/rustc_middle/src/mir/mod.rs index 99886821140..291ac0118a6 100644 --- a/compiler/rustc_middle/src/mir/mod.rs +++ b/compiler/rustc_middle/src/mir/mod.rs @@ -1340,7 +1340,7 @@ impl<O> AssertKind<O> { } /// Format the message arguments for the `assert(cond, msg..)` terminator in MIR printing. - fn fmt_assert_args<W: Write>(&self, f: &mut W) -> fmt::Result + pub fn fmt_assert_args<W: Write>(&self, f: &mut W) -> fmt::Result where O: Debug, { |
