fork/rust
git clone https://git.julia.blue/fork/rust
f3e1a954d2e
1.41.1
1error[E0277]: the trait bound `(): Trait<for<'b> fn(&'b u32)>` is not satisfied 2 --> $DIR/hrtb-exists-forall-trait-contravariant.rs:34:11 3 | 4LL | fn foo<T>() 5 | --- 6LL | where 7LL | T: Trait<for<'b> fn(&'b u32)>, 8 | -------------------------- required by this bound in `foo` 9... 10LL | foo::<()>(); 11 | ^^ the trait `Trait<for<'b> fn(&'b u32)>` is not implemented for `()` 12 | 13 = help: the following implementations were found: 14 <() as Trait<fn(&'a u32)>> 15 16error: aborting due to previous error 17 18For more information about this error, try `rustc --explain E0277`.