Files
rust/tests/ui
Matthias Krüger 042cc7269c Rollup merge of #120104 - Nadrieril:never-pat-diverges, r=compiler-errors
never_patterns: Count `!` bindings as diverging

A binding that is a never pattern is not reachable, hence counts as diverging code. This allows in particular `fn foo(!: Void) -> SomeType {}` to typecheck.

r? ``@compiler-errors``
2024-01-22 22:12:07 +01:00
..
2024-01-19 23:49:40 +00:00
2024-01-19 20:38:51 +00:00