mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-15 05:04:23 +00:00
12 lines
186 B
Rust
12 lines
186 B
Rust
//@ check-pass
|
|
|
|
pub trait Foo {
|
|
type X: PartialEq;
|
|
type Y: PartialEq<Self::Y>;
|
|
type Z: PartialEq<Self::Y>;
|
|
}
|
|
|
|
fn uwu(x: &dyn Foo<X = i32, Y = i32, Z = i32>) {}
|
|
|
|
fn main() {}
|