We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3033c3d commit 16264a3Copy full SHA for 16264a3
crates/hir-ty/src/infer.rs
@@ -688,7 +688,7 @@ impl<'a> InferenceContext<'a> {
688
}
689
690
691
- /// Replaces Ty::Unknown by a new type var, so we can maybe still infer it.
+ /// Replaces `Ty::Error` by a new type var, so we can maybe still infer it.
692
fn insert_type_vars_shallow(&mut self, ty: Ty) -> Ty {
693
match ty.kind(Interner) {
694
TyKind::Error => self.table.new_type_var(),
0 commit comments