]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-types/issue-64855.rs
Rollup merge of #64603 - gilescope:unused-lifetime-warning, r=matthewjasper
[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() {}