mirror of
https://github.com/rust-lang/rust
synced 2024-09-05 16:57:03 +00:00
11 lines
227 B
Rust
11 lines
227 B
Rust
#![feature(associated_type_defaults)]
|
|
|
|
pub struct C<AType: A> {a:AType}
|
|
|
|
pub trait A {
|
|
type B = C<Self::anything_here_kills_it>;
|
|
//~^ ERROR: associated type `anything_here_kills_it` not found for `Self`
|
|
}
|
|
|
|
fn main() {}
|