Skip to content

Commit

Permalink
Make AssertKind::fmt_assert_args public
Browse files Browse the repository at this point in the history
  • Loading branch information
dario23 committed Apr 21, 2021
1 parent 6df26f8 commit b9a1e69
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 @@ -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,
{
Expand Down

0 comments on commit b9a1e69

Please sign in to comment.