rust/compiler/rustc_lint
Yuki Okushi 14f333597e
Rollup merge of #86671 - m-ou-se:non-fmt-panic-future-incompatible, r=nikomatsakis
Turn non_fmt_panic into a future_incompatible edition lint.

This turns the `non_fmt_panic` lint into a future_incompatible edition lint, so it becomes part of the `rust_2021_compatibility` group. See https://github.com/rust-lang/rust/issues/85894.

This lint produces both warnings about semantical changes (e.g. `panic!("{{")`) and things that will become hard errors (e.g. `panic!("{")`). So I added a `explain_reason: false` that supresses the default "this will become a hard error" or "the semantics will change" message, and instead added a note depending on the situation. (cc `@rylev)`

r? `@nikomatsakis`
2021-06-29 08:46:14 +09:00
..
src Rollup merge of #86671 - m-ou-se:non-fmt-panic-future-incompatible, r=nikomatsakis 2021-06-29 08:46:14 +09:00
Cargo.toml Add --extern-loc to augment unused crate dependency diagnostics 2021-02-07 14:54:20 -08:00