]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-types/issue-64855.rs
Merge commit '5034d47f721ff4c3a3ff2aca9ef2ef3e1d067f9f' into clippyup
[rust.git] / src / test / ui / associated-types / issue-64855.rs
1 pub trait Foo {
2     type Type;
3 }
4
5 pub struct Bar<T>(<Self as Foo>::Type) where Self: ;
6 //~^ ERROR the trait bound `Bar<T>: Foo` is not satisfied
7
8 fn main() {}