blob: e1cad5853f33e807ac119f55fc10e63506bf5012 [file] [log] [blame]
warning: panic message is not a string literal
--> $DIR/lib.rs:472:12
|
472 | panic!(AbortNow)
| ^^^^^^^^
|
= note: `#[warn(non_fmt_panic)]` on by default
= note: this is no longer accepted in Rust 2021
help: add a "{}" format string to Display the message
|
472 | panic!("{}", AbortNow)
| ^^^^^
help: or use std::panic::panic_any instead
|
472 | std::panic::panic_any(AbortNow)
| ^^^^^^^^^^^^^^^^^^^^^^
warning: 1 warning emitted
warning: panic message is not a string literal
--> $DIR/lib.rs:472:12
|
472 | panic!(AbortNow)
| ^^^^^^^^
|
= note: `#[warn(non_fmt_panic)]` on by default
= note: this is no longer accepted in Rust 2021
help: add a "{}" format string to Display the message
|
472 | panic!("{}", AbortNow)
| ^^^^^
help: or use std::panic::panic_any instead
|
472 | std::panic::panic_any(AbortNow)
| ^^^^^^^^^^^^^^^^^^^^^^
warning: 1 warning emitted
error: main macro message
--> $DIR/children_messages.rs:4:20
|
4 | children_messages!(one, two, three, four);
| ^^^
error: child message
--> $DIR/children_messages.rs:4:25
|
4 | children_messages!(one, two, three, four);
| ^^^
error: main syn::Error
--> $DIR/children_messages.rs:4:30
|
4 | children_messages!(one, two, three, four);
| ^^^^^
error: child syn::Error
--> $DIR/children_messages.rs:4:37
|
4 | children_messages!(one, two, three, four);
| ^^^^