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

Commit 0fee26d

Browse files
ices/82455.rs: fixed with errors (#674)
=== stdout === === stderr === error[E0601]: `main` function not found in crate `82455` --> /home/runner/work/glacier/glacier/ices/82455.rs:1:1 | 1 | / fn map<T>(_: fn() -> Option<&'static T>) -> Option<T> { 2 | | None 3 | | } 4 | | ... | 10 | | let _: Option<_> = map(value); 11 | | }; | |__^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/82455.rs` error[E0121]: the type placeholder `_` is not allowed within types on item signatures --> /home/runner/work/glacier/glacier/ices/82455.rs:5:31 | 5 | fn value() -> Option<&'static _> { | ----------------^- | | | | | not allowed in type signatures | help: replace with the correct return type: `Option<&'static u8>` error[E0121]: the type placeholder `_` is not allowed within types on item signatures --> /home/runner/work/glacier/glacier/ices/82455.rs:9:10 | 9 | const _: Option<_> = { | ^^^^^^^^^ not allowed in type signatures error: aborting due to 3 previous errors Some errors have detailed explanations: E0121, E0601. For more information about an error, try `rustc --explain E0121`. ============== Co-authored-by: rustbot <[email protected]>
1 parent ea6dc9a commit 0fee26d

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)