Skip to content

Commit 18371c8

Browse files
authored
Rollup merge of rust-lang#84392 - dario23:fmt-assert-args-pub, r=varkor,RalfJung
Make AssertKind::fmt_assert_args public
2 parents 12de684 + b9a1e69 commit 18371c8

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)