blob: 2bfee7a35faab6de9743697ae54b005d394348af (
plain)
1
2
3
4
5
6
7
8
9
10
|
#![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() {}
|