Skip to content

Commit 4198d0a

Browse files
authored
Rollup merge of #84392 - dario23:fmt-assert-args-pub, r=varkor,RalfJung
Make AssertKind::fmt_assert_args public
2 parents a00edce + b9a1e69 commit 4198d0a

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
@@ -1349,7 +1349,7 @@ impl<O> AssertKind<O> {
13491349
}
13501350

13511351
/// Format the message arguments for the `assert(cond, msg..)` terminator in MIR printing.
1352-
fn fmt_assert_args<W: Write>(&self, f: &mut W) -> fmt::Result
1352+
pub fn fmt_assert_args<W: Write>(&self, f: &mut W) -> fmt::Result
13531353
where
13541354
O: Debug,
13551355
{

0 commit comments

Comments
 (0)