blob: f124b58b5b605c234e58d3d346b7525c1329e0b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// Makes sure we deal with escaping lifetimes *above* INNERMOST when
// suggesting trait for ambiguous associated type.
impl<I, V> Validator<I> for ()
where
for<'iter> dyn Validator<<&'iter I>::Item>:,
//~^ ERROR ambiguous associated type
{}
pub trait Validator<T> {}
fn main() {}
|