]> git.lizzy.rs Git - rust.git/blob - tests/ui/associated-types/issue-23595-2.rs
Rollup merge of #106709 - khuey:disable_split_dwarf_inlining_by_default, r=davidtwco
[rust.git] / tests / ui / associated-types / issue-23595-2.rs
1 #![feature(associated_type_defaults)]
2
3 pub struct C<AType: A> {a:AType}
4
5 pub trait A {
6     type B = C<Self::anything_here_kills_it>;
7     //~^ ERROR: associated type `anything_here_kills_it` not found for `Self`
8 }
9
10 fn main() {}