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

Commit e556981

Browse files
committed
ices/91816.rs: fixed with errors
=== 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`. ==============
1 parent 9ef86ec commit e556981

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)