You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warning: panic message is not a string literal
--> src/main.rs:3:5
|
3 | version_sync::assert_markdown_deps_updated!("README.md");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(non_fmt_panic)]` on by default
= note: this is no longer accepted in Rust2021
= note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
warning: panic message is not a string literal
--> src/main.rs:4:5
|
4 | version_sync::assert_html_root_url_updated!("src/lib.rs");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this is no longer accepted inRust2021
= note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
warning:2 warnings emitted
Change panic!(err) to panic!("{}", err) will fix this issue. Check rust-lang/rust#81645.
The text was updated successfully, but these errors were encountered:
e.g.
Compiler warnings:
Change
panic!(err)
topanic!("{}", err)
will fix this issue. Check rust-lang/rust#81645.The text was updated successfully, but these errors were encountered: