Skip to content

Commit

Permalink
Rollup merge of rust-lang#84392 - dario23:fmt-assert-args-pub, r=vark…
Browse files Browse the repository at this point in the history
…or,RalfJung

Make AssertKind::fmt_assert_args public
  • Loading branch information
Dylan-DPC committed May 2, 2021
2 parents 35c6902 + b9a1e69 commit 40ecdf2
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 40ecdf2

Please sign in to comment.