rust/tests
Guillaume Gomez 77eaa80d5c
Rollup merge of - compiler-errors:ignore-diverging-arms, r=estebank
Only point out non-diverging arms for match suggestions

Fixes 

There is no reason to point at diverging arms, which will always coerce to whatever is the match block's evaluated type.

This also removes the suggestion from , since as I pointed out in https://github.com/rust-lang/rust/issues/72634#issuecomment-1946210898 the added suggestion is not firing in the right cases, but instead only when one of the match arms already *actually* evaluates to `()`.

r? estebank
2024-02-16 00:27:34 +01:00
..
assembly Bless/fix tests 2024-02-08 19:56:30 -05:00
auxiliary
codegen tests: LLVM 18 infers an extra noalias here 2024-02-13 10:33:40 +01:00
codegen-units Update tests 2024-02-07 10:42:01 +08:00
coverage Enable by default. 2024-02-09 21:13:51 +00:00
coverage-run-rustdoc coverage: Don't instrument #[automatically_derived] functions 2024-01-22 12:18:57 +11:00
debuginfo Update tests. 2024-01-27 16:38:57 +01:00
incremental Auto merge of - oli-obk:impl_polarity, r=compiler-errors 2024-02-13 02:48:49 +00:00
mir-opt Rollup merge of - cjgillot:gvn-adjust, r=compiler-errors 2024-02-14 11:53:41 +01:00
pretty Auto merge of - nnethercote:further-improve-space_between, r=petrochenkov 2024-01-31 02:01:43 +00:00
run-make Update data layouts in custom target tests for LLVM 18 2024-01-31 15:15:59 +01:00
run-make-fulldeps
run-pass-valgrind
rustdoc Rollup merge of - chenyukang:yukang-fix-120998-rust-playground-link, r=GuillaumeGomez 2024-02-16 00:27:32 +01:00
rustdoc-gui Rollup merge of - notriddle:notriddle/resize-close-modals, r=fmease 2024-01-22 07:56:42 +01:00
rustdoc-js
rustdoc-js-std
rustdoc-json
rustdoc-ui Clean inlined type alias with correct param-env 2024-02-12 04:51:49 +00:00
ui Rollup merge of - compiler-errors:ignore-diverging-arms, r=estebank 2024-02-16 00:27:34 +01:00
ui-fulldeps Rollup merge of - momvart:smir-61-foreign_kind, r=oli-obk 2024-02-15 09:20:18 +01:00
COMPILER_TESTS.md