We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 35c6902 + b9a1e69 commit 40ecdf2Copy full SHA for 40ecdf2
compiler/rustc_middle/src/mir/mod.rs
@@ -1349,7 +1349,7 @@ impl<O> AssertKind<O> {
1349
}
1350
1351
/// 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
+ pub fn fmt_assert_args<W: Write>(&self, f: &mut W) -> fmt::Result
1353
where
1354
O: Debug,
1355
{
0 commit comments