mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
15 lines
153 B
Rust
15 lines
153 B
Rust
//@ known-bug: #117829
|
|
#![feature(auto_traits)]
|
|
|
|
trait B {}
|
|
|
|
auto trait Z<T>
|
|
where
|
|
T: Z<u16>,
|
|
<T as Z<u16>>::W: B,
|
|
{
|
|
type W;
|
|
}
|
|
|
|
fn main() {}
|