rust/tests
bors cfb38819cc 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
2024-08-06 04:47:27 +00:00
..
test_utils
ui Auto merge of #13145 - xFrednet:07797-restriction-and-then-why, r=Jarcho 2024-08-06 04:47:27 +00:00
ui-cargo
ui-internal Store deprecated lints as an array of tuples. 2024-08-05 09:15:55 -04:00
ui-toml Migrating restriction lints to span_lint_and_then (e -> i) 2024-08-03 10:18:15 +02:00
workspace_test
check-fmt.rs
clippy.toml
compile-test.rs Bump ui_test version -> 0.25 2024-07-26 11:40:27 +02:00
dogfood.rs Show progress while running dogfood test 2024-07-17 12:29:18 +00:00
headers.rs
integration.rs [pathbuf_init_then_push]: Checks for calls to push immediately after creating a new PathBuf 2024-07-21 14:22:48 +08:00
lint_message_convention.rs
missing-test-files.rs
versioncheck.rs
workspace.rs