Check bindings around never patterns

This commit is contained in:
Nadrieril
2024-01-05 10:11:18 +01:00
parent b31735a401
commit 560beb1ad4
13 changed files with 110 additions and 105 deletions

View File

@@ -265,6 +265,8 @@ enum ResolutionError<'a> {
InvalidAsmSym,
/// `self` used instead of `Self` in a generic parameter
LowercaseSelf,
/// A never pattern has a binding.
BindingInNeverPattern,
}
enum VisResolutionError<'a> {