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

Commit 3fbb615

Browse files
committed
ices/71443-1.rs: fixed with errors
=== stdout === === stderr === error[E0601]: `main` function not found in crate `71443_1` --> /home/runner/work/glacier/glacier/ices/71443-1.rs:1:1 | 1 | / #![feature(associated_type_bounds)] 2 | | 3 | | struct Incorrect; 4 | | 5 | | fn hello<F: for<'a> Iterator<Item: 'a>>() { 6 | | Incorrect 7 | | } | |_^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/71443-1.rs` error[E0308]: mismatched types --> /home/runner/work/glacier/glacier/ices/71443-1.rs:6:5 | 5 | fn hello<F: for<'a> Iterator<Item: 'a>>() { | - help: try adding a return type: `-> Incorrect` 6 | Incorrect | ^^^^^^^^^ expected `()`, found struct `Incorrect` error: aborting due to 2 previous errors Some errors have detailed explanations: E0308, E0601. For more information about an error, try `rustc --explain E0308`. ==============
1 parent 718f764 commit 3fbb615

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)