bors
0534655d9b
Auto merge of #108504 - cjgillot:thir-pattern, r=compiler-errors,Nilstrieb
...
Check pattern refutability on THIR
The current `check_match` query is based on HIR, but partially re-lowers HIR into THIR.
This PR proposed to use the results of the `thir_body` query to check matches, instead of re-building THIR.
Most of the diagnostic changes are spans getting shorter, or commas/semicolons not getting removed.
This PR degrades the diagnostic for confusing constants in patterns (`let A = foo()` where `A` resolves to a `const A` somewhere): it does not point ot the definition of `const A` any more.
2023-04-06 12:42:01 +00:00
..
2023-04-03 15:59:21 +00:00
2023-01-17 02:47:50 +00:00
2023-01-15 19:46:20 +00:00
2023-01-15 19:46:20 +00:00
2023-01-15 19:46:20 +00:00
2023-01-17 02:45:11 +00:00
2023-02-03 18:53:27 +00:00
2023-01-15 19:46:20 +00:00
2023-01-15 19:46:20 +00:00
2023-01-17 02:47:50 +00:00
2023-01-15 19:46:20 +00:00
2023-01-15 19:46:20 +00:00
2023-01-15 19:46:20 +00:00
2023-01-15 19:46:20 +00:00
2023-01-15 19:46:20 +00:00
2023-01-15 19:46:20 +00:00
2023-01-15 19:46:20 +00:00
2023-01-17 02:47:50 +00:00
2023-01-15 19:46:20 +00:00
2023-01-15 19:46:20 +00:00
2023-01-15 19:46:20 +00:00
2023-01-17 02:45:11 +00:00
2023-01-15 19:46:20 +00:00
2023-01-15 19:46:20 +00:00
2023-01-15 19:46:20 +00:00
2023-01-15 19:46:20 +00:00
2023-01-15 19:46:20 +00:00
2023-04-03 09:24:11 +02:00
2023-01-15 19:46:20 +00:00
2023-01-17 02:45:11 +00:00
2023-01-15 19:46:20 +00:00
2023-01-15 19:46:20 +00:00
2023-01-15 19:46:20 +00:00
2023-01-15 19:46:20 +00:00
2023-03-03 16:33:11 +01:00
2023-03-03 16:33:11 +01:00
2023-03-05 16:56:57 +01:00
2023-03-05 16:56:57 +01:00
2023-01-15 19:46:20 +00:00
2023-03-03 16:33:11 +01:00
2023-03-03 16:33:11 +01:00
2023-01-15 19:46:20 +00:00
2023-03-03 16:33:11 +01:00
2023-03-03 16:33:11 +01:00
2023-03-16 11:21:50 +01:00
2023-03-05 16:56:57 +01:00
2023-01-15 19:46:20 +00:00
2023-01-15 19:46:20 +00:00
2023-01-15 19:46:20 +00:00
2023-01-15 19:46:20 +00:00
2023-01-15 19:46:20 +00:00
2023-01-15 19:46:20 +00:00
2023-01-15 19:46:20 +00:00
2023-01-15 19:46:20 +00:00
2023-01-15 19:46:20 +00:00
2023-01-15 19:46:20 +00:00
2023-01-15 19:46:20 +00:00
2023-02-23 10:27:06 -07:00
2023-02-23 10:27:06 -07:00
2023-02-16 11:42:35 -03:00
2023-02-16 11:42:35 -03:00
2023-02-16 11:42:35 -03:00
2023-02-03 18:53:27 +00:00
2023-02-03 18:53:27 +00:00
2023-02-03 18:53:27 +00:00
2023-02-03 18:53:27 +00:00
2023-02-03 18:53:27 +00:00
2023-02-02 16:26:01 +00:00
2023-02-02 16:26:01 +00:00
2023-02-02 16:26:01 +00:00
2023-02-22 08:40:47 -07:00
2023-02-22 08:40:47 -07:00
2023-03-09 17:45:13 +00:00
2023-01-15 19:46:20 +00:00
2023-01-15 19:46:20 +00:00