mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
11 lines
311 B
Rust
11 lines
311 B
Rust
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() {}
|