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