Ignore panic_fmt lint in format-args-capture ui test.

This commit is contained in:
Mara Bos
2020-10-19 00:45:42 +02:00
parent d3b41497fe
commit f1fcc4dea3

View File

@@ -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();