Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-ty/src/infer.rs')
| -rw-r--r-- | crates/hir-ty/src/infer.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/hir-ty/src/infer.rs b/crates/hir-ty/src/infer.rs index fd0612e066..82c5834e64 100644 --- a/crates/hir-ty/src/infer.rs +++ b/crates/hir-ty/src/infer.rs @@ -398,6 +398,9 @@ pub enum InferenceDiagnostic { /// Whether the `GenericArgs` contains a `Self` arg. has_self_arg: bool, }, + InvalidLhsOfAssignment { + lhs: ExprId, + }, } /// A mismatch between an expected and an inferred type. |