blob: 28492e779e20294171d61e05f26a97e0577f7c4f [file] [log] [blame]
warning: panic message is not a string literal
--> src/lib.rs:472:12
|
472 | panic!(AbortNow)
| ------ ^^^^^^^^
| |
| help: use std::panic::panic_any instead: `std::panic::panic_any`
|
= note: `#[warn(non_fmt_panics)]` on by default
= note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
error: whole type
--> tests/ui/to_tokens_span.rs:4:17
|
4 | to_tokens_span!(std::option::Option);
| ^^^^^^^^^^^^^^^^^^^
error: explicit .span()
--> tests/ui/to_tokens_span.rs:4:17
|
4 | to_tokens_span!(std::option::Option);
| ^^^