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

Commit b472021

Browse files
committed
ices/81708.rs: fixed with errors
=== stdout === === stderr === error[E0493]: destructors cannot be evaluated at compile-time --> /home/runner/work/glacier/glacier/ices/81708.rs:3:5 | 3 | test_arr[0] = String::new(); | ^^^^^^^^^^^ | | | statics cannot evaluate destructors | value is dropped here error[E0493]: destructors cannot be evaluated at compile-time --> /home/runner/work/glacier/glacier/ices/81708.rs:2:9 | 2 | let test_arr: [String; 1]; | ^^^^^^^^ statics cannot evaluate destructors 3 | test_arr[0] = String::new(); 4 | }; | - value is dropped here error[E0381]: use of possibly-uninitialized variable: `test_arr` --> /home/runner/work/glacier/glacier/ices/81708.rs:3:5 | 3 | test_arr[0] = String::new(); | ^^^^^^^^^^^ use of possibly-uninitialized `test_arr` error: aborting due to 3 previous errors Some errors have detailed explanations: E0381, E0493. For more information about an error, try `rustc --explain E0381`. ==============
1 parent 9ef86ec commit b472021

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)