summaryrefslogtreecommitdiffstats
path: root/src/test/ui/associated-types/issue-64855.rs
blob: 81cf3ae6e83b67057cd786b7ca6661a70bdf659e (plain)
1
2
3
4
5
6
7
8
pub trait Foo {
    type Type;
}

pub struct Bar<T>(<Self as Foo>::Type) where Self: ;
//~^ ERROR the trait bound `Bar<T>: Foo` is not satisfied

fn main() {}