We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4de7572 + b9a1e69 commit a6532dcCopy full SHA for a6532dc
compiler/rustc_middle/src/mir/mod.rs
@@ -1340,7 +1340,7 @@ impl<O> AssertKind<O> {
1340
}
1341
1342
/// 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
+ pub fn fmt_assert_args<W: Write>(&self, f: &mut W) -> fmt::Result
1344
where
1345
O: Debug,
1346
{
0 commit comments