]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/non-fmt-panic.stderr
Rollup merge of #102445 - jmillikin:cstr-is-empty, r=Mark-Simulacrum
[rust.git] / src / test / ui / non-fmt-panic.stderr
index 6e4434e6f33723fc2fec20d72c240e6c7515bf92..162802b7f610ae31e2c0de1e936897471d02a957 100644 (file)
@@ -4,8 +4,8 @@ warning: panic message contains a brace
 LL |     panic!("here's a brace: {");
    |                             ^
    |
-   = note: `#[warn(non_fmt_panics)]` on by default
    = note: this message is not used as a format string, but will be in Rust 2021
+   = note: `#[warn(non_fmt_panics)]` on by default
 help: add a "{}" format string to use the message literally
    |
 LL |     panic!("{}", "here's a brace: {");