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 b18863f commit 2e9194aCopy full SHA for 2e9194a
crates/ra_hir/src/ty.rs
@@ -480,7 +480,15 @@ impl Ty {
480
t.walk(f);
481
}
482
483
- _ => {}
+ Ty::Bool
484
+ | Ty::Char
485
+ | Ty::Int(_)
486
+ | Ty::Float(_)
487
+ | Ty::Str
488
+ | Ty::Never
489
+ | Ty::Param { .. }
490
+ | Ty::Infer(_)
491
+ | Ty::Unknown => {}
492
493
494
@@ -526,7 +534,15 @@ impl Ty {
526
534
527
535
substs.0 = v.into();
528
536
529
537
538
539
540
541
542
543
544
545
530
546
531
547
532
548
0 commit comments