You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 23, 2024. It is now read-only.
=== stdout ===
=== stderr ===
error[E0277]: the trait bound `B: Bar` is not satisfied
--> /home/runner/work/glacier/glacier/ices/90400-1.rs:20:9
|
20 | move || { bar.bar() }
| ^^^^^^^^^^^^^^^^^^^^^ the trait `Bar` is not implemented for `B`
|
note: required by a bound in `<MyFoo as Foo>::foo`
--> /home/runner/work/glacier/glacier/ices/90400-1.rs:19:15
|
19 | fn foo<B: Bar>(&self, bar: B) -> Self::FooFn<B> {
| ^^^ required by this bound in `<MyFoo as Foo>::foo`
help: consider restricting type parameter `B`
|
17 | type FooFn<B: Bar> = impl FnOnce();
| +++++
error: aborting due to previous error
For more information about this error, try `rustc --explain E0277`.
==============
0 commit comments