rust/tests
bors 28cd1ec9b7 Auto merge of #9688 - Alexendoo:msrv-tests, r=Manishearth
Move MSRV tests into the lint specific test files

There are currently two ways MSRV tests are done in the ui test suite, adding a case to the `#![clippy::msrv = "1.0"]` `tests/ui/min_rust_version_attr.rs` or adding the two `msrv_1_xx` functions to the test file of the lint in question

This updates the clippy book to suggest the `msrv_1_xx` style, and replaces the tests in `tests/ui/min_rust_version_attr.rs` with ones of that style

Almost the entire diff is just moving stuff around as a result, I made sure to check the line numbers the lints are emitted at correspond with the right `msrv` case, so feel free to only skim that part

changelog: none
2022-10-23 05:05:23 +00:00
..
test_utils Move/rename lazy::Sync{OnceCell,Lazy} to sync::{Once,Lazy}Lock 2022-06-16 19:54:42 +04:00
ui Move MSRV tests into the lint specific test files 2022-10-21 21:35:39 +00:00
ui-cargo Merge commit 'ac0e10aa68' into clippyup 2022-10-06 09:44:38 +02:00
ui-internal Fix adjacent code 2022-10-15 07:03:29 -04:00
ui-toml Merge commit 'ac0e10aa68' into clippyup 2022-10-06 09:44:38 +02:00
workspace_test Merge commit '97a5daa659' into clippyup 2022-01-13 13:18:19 +01:00
check-fmt.rs Merge commit 'f51aade56f' into clippyup 2022-08-31 09:24:45 -04:00
clippy.toml Merge commit '3ae8faff4d' into clippyup 2021-06-03 08:41:37 +02:00
compile-test.rs Fix adjacent code 2022-10-07 05:07:44 -04:00
dogfood.rs Add lintcheck to packages linted by dogfood test 2022-10-22 07:37:10 -04:00
integration.rs Merge commit 'ac0e10aa68' into clippyup 2022-10-06 09:44:38 +02:00
lint_message_convention.rs Merge commit 'ac0e10aa68' into clippyup 2022-10-06 09:44:38 +02:00
missing-test-files.rs Merge commit 'ac0e10aa68' into clippyup 2022-10-06 09:44:38 +02:00
versioncheck.rs Fix adjacent code 2022-10-07 05:07:44 -04:00
workspace.rs Merge commit 'f51aade56f' into clippyup 2022-08-31 09:24:45 -04:00