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

Commit 45ceda0

Browse files
committed
ices/99820.rs: fixed with errors
=== stdout === === stderr === error[E0059]: type parameter to bare `FnOnce` trait must be a tuple --> /home/runner/work/glacier/glacier/ices/99820.rs:7:12 | 7 | impl const FnOnce<&usize> for Closure { | ^^^^^^^^^^^^^^ the trait `Tuple` is not implemented for `&usize` | note: required by a bound in `FnOnce` error[E0277]: `&usize` is not a tuple --> /home/runner/work/glacier/glacier/ices/99820.rs:15:37 | 15 | enum Bug<T = [(); Closure.call_once(&0) ]> { | --------- ^^ the trait `Tuple` is not implemented for `&usize` | | | required by a bound introduced by this call | note: required by a bound in `call_once` error[E0277]: functions with the "rust-call" ABI must take a single non-self tuple argument --> /home/runner/work/glacier/glacier/ices/99820.rs:10:5 | 10 | extern "rust-call" fn call_once(self, arg: &usize) -> Self::Output { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Tuple` is not implemented for `&usize` error: aborting due to 3 previous errors Some errors have detailed explanations: E0059, E0277. For more information about an error, try `rustc --explain E0059`. ==============
1 parent eaef1f7 commit 45ceda0

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)