Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.

Commit f61fe73

Browse files
committed
ices/90400-1.rs: fixed with errors
=== 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`. ==============
1 parent 3fd5620 commit f61fe73

File tree

1 file changed

+0
-0
lines changed

1 file changed

+0
-0
lines changed
File renamed without changes.

0 commit comments

Comments
 (0)