bors[bot] 5d2cd18765
Merge #11780
11780: feat: Add type mismatch diagnostic r=flodiebold a=flodiebold

This adds a proper diagnostic for type mismatches, turning "Add reference here", "Missing Ok or Some" and "Remove this semicolon" into quickfixes for this single diagnostic.
The diagnostic is marked as experimental when it does not have one of these quickfixes, so it can be turned off with `rust-analyzer.diagnostics.enableExperimental` (or specifically with `rust-analyzer.diagnostics.disabled` of course, the ID is `type-mismatch`).
There will still be some false positives, but I think there shouldn't be too many especially when the Chalk fix lands, and it's still experimental anyway 🙂 
This also fixes type checking for `rustc_legacy_const_generics` just to avoid some errors in tests.

Co-authored-by: Florian Diebold <flodiebold@gmail.com>
2022-03-22 10:40:23 +00:00
..
2022-03-21 10:43:36 +02:00
2022-03-21 10:43:36 +02:00
2022-03-21 17:00:03 +01:00
2022-03-21 16:46:01 +01:00
2022-03-21 18:54:20 +01:00
2022-03-21 10:43:36 +02:00
2022-03-20 21:15:49 +00:00
2022-03-12 16:50:49 +01:00
2022-03-21 10:43:36 +02:00
2022-03-20 13:47:16 +00:00
2022-03-17 08:53:33 +02:00
2022-03-20 21:15:49 +00:00
2022-03-12 16:50:49 +01:00
2022-03-17 19:24:37 +02:00