We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1d9e45 commit 0b57fa3Copy full SHA for 0b57fa3
crates/ide-completion/src/tests/type_pos.rs
@@ -634,6 +634,31 @@ fn f(t: impl MyTrait<Item1 = $0
634
"#]],
635
);
636
637
+ check(
638
+ r#"
639
+trait MyTrait {
640
+ type Item1;
641
+ type Item2;
642
+};
643
+
644
+fn f(t: impl MyTrait<Item1 = u8, Item2 = $0
645
+"#,
646
+ expect![[r#"
647
+ en Enum
648
+ ma makro!(…) macro_rules! makro
649
+ md module
650
+ st Record
651
+ st Tuple
652
+ st Unit
653
+ tt MyTrait
654
+ tt Trait
655
+ un Union
656
+ bt u32
657
+ kw crate::
658
+ kw self::
659
+ "#]],
660
+ );
661
662
check(
663
r#"
664
trait MyTrait {
0 commit comments