This commit is contained in:
Max Heller 2023-08-08 20:09:50 -04:00
parent a1d9e453b9
commit 0b57fa3931

View File

@ -634,6 +634,31 @@ fn f(t: impl MyTrait<Item1 = $0
"#]],
);
check(
r#"
trait MyTrait {
type Item1;
type Item2;
};
fn f(t: impl MyTrait<Item1 = u8, Item2 = $0
"#,
expect![[r#"
en Enum
ma makro!() macro_rules! makro
md module
st Record
st Tuple
st Unit
tt MyTrait
tt Trait
un Union
bt u32
kw crate::
kw self::
"#]],
);
check(
r#"
trait MyTrait {