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

Commit 6cdd081

Browse files
committed
ices/84768.rs: fixed with errors
=== stdout === === stderr === error[E0601]: `main` function not found in crate `84768` --> /home/runner/work/glacier/glacier/ices/84768.rs:1:1 | 1 | / #![feature(fn_traits)] 2 | | 3 | | fn transform_mut<F>(f: F) where F: for<'b> FnOnce(&'b mut u8) { 4 | | <F as FnOnce(&mut u8)>::call_once(f, 1) 5 | | } | |_^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/84768.rs` error[E0229]: associated type bindings are not allowed here --> /home/runner/work/glacier/glacier/ices/84768.rs:4:11 | 4 | <F as FnOnce(&mut u8)>::call_once(f, 1) | ^^^^^^^^^^^^^^^ associated type not allowed here error[E0308]: mismatched types --> /home/runner/work/glacier/glacier/ices/84768.rs:4:42 | 4 | <F as FnOnce(&mut u8)>::call_once(f, 1) | ^ expected tuple, found integer | = note: expected tuple `(&mut u8,)` found type `{integer}` error: aborting due to 3 previous errors Some errors have detailed explanations: E0229, E0308, E0601. For more information about an error, try `rustc --explain E0229`. ==============
1 parent 450d917 commit 6cdd081

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)