mirror of
https://github.com/rust-lang/rust.git
synced 2026-03-28 00:15:46 +00:00
Ignore panic_fmt lint in format-args-capture ui test.
This commit is contained in:
@@ -31,6 +31,7 @@ fn panic_with_single_argument_does_not_get_formatted() {
|
||||
// RFC #2795 suggests that this may need to change so that captured arguments are formatted.
|
||||
// For stability reasons this will need to part of an edition change.
|
||||
|
||||
#[allow(panic_fmt)]
|
||||
let msg = std::panic::catch_unwind(|| {
|
||||
panic!("{foo}");
|
||||
}).unwrap_err();
|
||||
|
||||
Reference in New Issue
Block a user