rust/tests
bors e1607e9d31 Auto merge of #8912 - Alexendoo:needless-late-init-ice, r=giraffate
needless_late_init: fix ICE when all branches return the never type

Fixes #8911

When the assignment is done in a match guard or the if condition and all of the branches return the never type `assignment_suggestions` would return an empty `Vec` which caused the ICE. It now returns `None` in that scenario

Also moves some tests to the top of the file

changelog: ICE Fixes: [`needless_late_init`] #8911
2022-05-31 00:46:52 +00:00
..
test_utils Merge commit '97a5daa659' into clippyup 2022-01-13 13:18:19 +01:00
ui Auto merge of #8912 - Alexendoo:needless-late-init-ice, r=giraffate 2022-05-31 00:46:52 +00:00
ui-cargo Add duplicate_mod lint 2022-05-14 22:31:13 +01:00
ui-internal Merge commit '7c21f91b15' into clippyup 2022-05-05 15:12:52 +01:00
ui-toml fix 2022-05-27 01:30:44 +09:00
workspace_test Merge commit '97a5daa659' into clippyup 2022-01-13 13:18:19 +01:00
check-fmt.rs Merge commit '984330a6ee' into clippyup 2022-04-08 10:06:10 +01:00
clippy.toml Merge commit '3ae8faff4d' into clippyup 2021-06-03 08:41:37 +02:00
compile-test.rs Auto merge of #8844 - smoelius:fixed-paths, r=Alexendoo 2022-05-28 11:28:04 +00:00
dogfood.rs Ignore unfulfilled_lint_expectations in metadata collection 2022-05-09 20:40:37 +01:00
integration.rs Merge commit 'cb7915b00c' into clippyup 2021-09-28 18:03:12 +01:00
lint_message_convention.rs Merge commit '7c21f91b15' into clippyup 2022-05-05 15:12:52 +01:00
missing-test-files.rs Merge commit 'e181011378' into clippyup 2021-11-04 12:52:36 +00:00
versioncheck.rs Merge commit '984330a6ee' into clippyup 2022-04-08 10:06:10 +01:00
workspace.rs resolve the conflict in compiler/rustc_session/src/parse.rs 2022-03-16 20:12:30 +08:00