You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 23, 2024. It is now read-only.
=== 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`.
==============
0 commit comments