rust/tests
bors 345c94c98f 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
2024-07-26 07:44:21 +00:00
..
test_utils
ui Auto merge of #13144 - xFrednet:07797-restriction-and-then-what, r=y21 2024-07-26 07:44:21 +00:00
ui-cargo Merge commit '68a799aea9b65e2444fbecfe32217ce7d5a3604f' into clippy-subtree-update 2024-06-27 18:56:04 +02:00
ui-internal Refactor for using config values: 2024-07-17 14:05:49 -04:00
ui-toml Refactor for using config values: 2024-07-17 14:05:49 -04:00
workspace_test
check-fmt.rs
clippy.toml
compile-test.rs Fix running compile-test under cargo nextest 2024-07-23 16:15:54 +00: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