]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-type-bounds/binder-on-bound.rs
Auto merge of #103894 - mati865:gnullvm-libunwind-changes, r=thomcc
[rust.git] / src / test / ui / associated-type-bounds / binder-on-bound.rs
1 trait Trait {
2     type Bound<'a>;
3 }
4
5 fn foo() where Trait<for<'a> Bound<'a> = &'a ()> {
6     //~^ ERROR `for<...>` is not allowed on associated type bounds
7 }
8
9 fn main() {}