mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-20 02:43:45 +00:00
Rollup merge of #84392 - dario23:fmt-assert-args-pub, r=varkor,RalfJung
Make AssertKind::fmt_assert_args public
This commit is contained in:
commit
4198d0a87c
@ -1349,7 +1349,7 @@ impl<O> AssertKind<O> {
|
||||
}
|
||||
|
||||
/// Format the message arguments for the `assert(cond, msg..)` terminator in MIR printing.
|
||||
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
|
||||
where
|
||||
O: Debug,
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user