]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/non-constant-expr-for-arr-len.stderr
Rollup merge of #53317 - estebank:abolish-ice, r=oli-obk
[rust.git] / src / test / ui / non-constant-expr-for-arr-len.stderr
index be7e8583824a595697aec6ad3a8254d274c02fab..9504c84b10ed73df040e4f7352f6de3f9618633c 100644 (file)
@@ -1,8 +1,9 @@
 error[E0435]: attempt to use a non-constant value in a constant
   --> $DIR/non-constant-expr-for-arr-len.rs:15:22
    |
-15 |         let _x = [0; n];
+LL |         let _x = [0; n];
    |                      ^ non-constant value
 
 error: aborting due to previous error
 
+For more information about this error, try `rustc --explain E0435`.