Skip to content

Commit

Permalink
Rollup merge of #84392 - dario23:fmt-assert-args-pub, r=varkor,RalfJung
Browse files Browse the repository at this point in the history
Make AssertKind::fmt_assert_args public
  • Loading branch information
Dylan-DPC authored May 2, 2021
2 parents a00edce + b9a1e69 commit 4198d0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_middle/src/mir/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1349,7 +1349,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,
{
Expand Down

0 comments on commit 4198d0a

Please sign in to comment.