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.
1 parent d3b4149 commit f1fcc4dCopy full SHA for f1fcc4d
src/test/ui/fmt/format-args-capture.rs
@@ -31,6 +31,7 @@ fn panic_with_single_argument_does_not_get_formatted() {
31
// RFC #2795 suggests that this may need to change so that captured arguments are formatted.
32
// For stability reasons this will need to part of an edition change.
33
34
+ #[allow(panic_fmt)]
35
let msg = std::panic::catch_unwind(|| {
36
panic!("{foo}");
37
}).unwrap_err();
0 commit comments