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[E0493]: destructors cannot be evaluated at compile-time
--> /home/runner/work/glacier/glacier/ices/91816.rs:6:9
|
6 | self.0[0].1 = value; //~ move
| ^^^^^^^^^^^
| |
| constant functions cannot evaluate destructors
| value is dropped here
error[E0493]: destructors cannot be evaluated at compile-time
--> /home/runner/work/glacier/glacier/ices/91816.rs:5:13
|
5 | let _arr = self.0;
| ^^^^ constant functions cannot evaluate destructors
...
8 | }
| - value is dropped here
error[E0382]: assign to part of moved value: `self.0`
--> /home/runner/work/glacier/glacier/ices/91816.rs:6:9
|
5 | let _arr = self.0;
| ------ value moved here
6 | self.0[0].1 = value; //~ move
| ^^^^^^^^^^^ value partially assigned here after move
|
= note: move occurs because `self.0` has type `[(K, V); 1]`, which does not implement the `Copy` trait
error: aborting due to 3 previous errors
Some errors have detailed explanations: E0382, E0493.
For more information about an error, try `rustc --explain E0382`.
==============
0 commit comments