about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-08-06 04:47:27 +0000
committerbors <bors@rust-lang.org>2024-08-06 04:47:27 +0000
commitcfb38819cca4a8c8a38c71057dfaca063eab2b8c (patch)
tree115ac98e0e6584d55b388cbfbc918f2417d8a13f /compiler/rustc_codegen_llvm/src
parent5f6d07b64ebfafe5f6f56fde6d3ddace6c9ddeed (diff)
parent4bf4c475ee1c19dfce3909113e713e26d77385af (diff)
downloadrust-cfb38819cca4a8c8a38c71057dfaca063eab2b8c.tar.gz
rust-cfb38819cca4a8c8a38c71057dfaca063eab2b8c.zip
Auto merge of #13145 - xFrednet:07797-restriction-and-then-why, r=Jarcho
Make restriction lint's use `span_lint_and_then` (q -> w)

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

sister PR of: https://github.com/rust-lang/rust-clippy/pull/13136

changelog: none
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions