Skip to content

Commit 0b57fa3

Browse files
committed
test
1 parent a1d9e45 commit 0b57fa3

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

crates/ide-completion/src/tests/type_pos.rs

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,31 @@ fn f(t: impl MyTrait<Item1 = $0
634634
"#]],
635635
);
636636

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+
637662
check(
638663
r#"
639664
trait MyTrait {

0 commit comments

Comments
 (0)