summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/alias/generic-default-in-dyn.rs
blob: d44e1c2a9753048d794d117cbeff8ca3b8b05b33 (plain)
1
2
3
4
5
6
7
8
9
10
trait SendEqAlias<T> = PartialEq;
//~^ ERROR trait aliases are experimental

struct Foo<T>(dyn SendEqAlias<T>);
//~^ ERROR the type parameter `Rhs` must be explicitly specified [E0393]

struct Bar<T>(dyn SendEqAlias<T>, T);
//~^ ERROR the type parameter `Rhs` must be explicitly specified [E0393]

fn main() {}