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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir-ty/src/infer.rs b/crates/hir-ty/src/infer.rs index 6179d8dcf8..e6c821457c 100644 --- a/crates/hir-ty/src/infer.rs +++ b/crates/hir-ty/src/infer.rs @@ -405,7 +405,7 @@ pub enum InferenceDiagnostic { expr: ExprId, found: StoredTy, }, - CannotBorrowAsMutable { + MutRefInImmRefPat { #[type_visitable(ignore)] pat: PatId, }, |