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

Commit b79cfc2

Browse files
ices/83836.rs: fixed with errors (#718)
=== stdout === === stderr === error[E0601]: `main` function not found in crate `83836` --> /home/runner/work/glacier/glacier/ices/83836.rs:1:1 | 1 | fn func2(_x: Option<Target = Option>) {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/83836.rs` error[E0107]: missing generics for enum `Option` --> /home/runner/work/glacier/glacier/ices/83836.rs:1:14 | 1 | fn func2(_x: Option<Target = Option>) {} | ^^^^^^ expected 1 type argument | note: enum defined here, with 1 type parameter: `T` help: use angle brackets to add missing type argument | 1 | fn func2(_x: Option<T><Target = Option>) {} | ^^^ error[E0107]: missing generics for enum `Option` --> /home/runner/work/glacier/glacier/ices/83836.rs:1:30 | 1 | fn func2(_x: Option<Target = Option>) {} | ^^^^^^ expected 1 type argument | note: enum defined here, with 1 type parameter: `T` help: use angle brackets to add missing type argument | 1 | fn func2(_x: Option<Target = Option<T>>) {} | ^^^ error[E0229]: associated type bindings are not allowed here --> /home/runner/work/glacier/glacier/ices/83836.rs:1:21 | 1 | fn func2(_x: Option<Target = Option>) {} | ^^^^^^^^^^^^^^^ associated type not allowed here error: aborting due to 4 previous errors Some errors have detailed explanations: E0107, E0229, E0601. For more information about an error, try `rustc --explain E0107`. ============== Co-authored-by: rustbot <[email protected]>
1 parent ec75c16 commit b79cfc2

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)