Skip to content

Commit b9a1e69

Browse files
committed
Make AssertKind::fmt_assert_args public
1 parent 6df26f8 commit b9a1e69

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_middle/src/mir

1 file changed

+1
-1
lines changed

compiler/rustc_middle/src/mir/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1340,7 +1340,7 @@ impl<O> AssertKind<O> {
13401340
}
13411341

13421342
/// Format the message arguments for the `assert(cond, msg..)` terminator in MIR printing.
1343-
fn fmt_assert_args<W: Write>(&self, f: &mut W) -> fmt::Result
1343+
pub fn fmt_assert_args<W: Write>(&self, f: &mut W) -> fmt::Result
13441344
where
13451345
O: Debug,
13461346
{

0 commit comments

Comments
 (0)