diff options
| author | bors <bors@rust-lang.org> | 2024-07-26 07:44:21 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-07-26 07:44:21 +0000 |
| commit | 345c94c98fd3fd39e07bfcd7e0e30261649c41fd (patch) | |
| tree | f7c77c76715e719dcee1e5340cd1f27e7ff78c05 /compiler/rustc_pattern_analysis/src/errors.rs | |
| parent | 533c377950283932ecb6a5af9fe226b8514d292b (diff) | |
| parent | 90c19635fdbe6d572e1c7d3e00b6c0948b18ae35 (diff) | |
| download | rust-345c94c98fd3fd39e07bfcd7e0e30261649c41fd.tar.gz rust-345c94c98fd3fd39e07bfcd7e0e30261649c41fd.zip | |
Auto merge of #13144 - xFrednet:07797-restriction-and-then-what, r=y21
Make restriction lint's use `span_lint_and_then` (i -> p) This migrates a few restriction lints to use `span_lint_and_then`. This change is motivated by https://github.com/rust-lang/rust-clippy/issues/7797. I've also cleaned up some lint message. Mostly minor stuff. For example: suggestions with a longer message than `"try"` now use `SuggestionStyle::ShowAlways` --- cc: https://github.com/rust-lang/rust-clippy/issues/7797 brother PR of: https://github.com/rust-lang/rust-clippy/pull/13136 changelog: none
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
