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

Commit 78b11bd

Browse files
committed
ices/70877.rs: fixed with errors
=== stdout === === stderr === error[E0271]: type mismatch resolving `<Bar as Iterator>::Item == Box<(dyn for<'r> Fn(&'r (dyn ToString + 'r)) -> Option<String> + 'static)>` --> /home/runner/work/glacier/glacier/ices/70877.rs:9:12 | 6 | type FooRet = impl std::fmt::Debug; | -------------------- the expected opaque type ... 9 | type Foo = impl Iterator<Item = FooItem>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected opaque type, found enum `Option` | = note: expected struct `Box<(dyn for<'r> Fn(&'r (dyn ToString + 'r)) -> impl Debug + 'static)>` found struct `Box<(dyn for<'r> Fn(&'r (dyn ToString + 'r)) -> Option<String> + 'static)>` error: aborting due to previous error For more information about this error, try `rustc --explain E0271`. ==============
1 parent 718f764 commit 78b11bd

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)