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

Commit ba2d804

Browse files
committed
ices/71169.rs: fixed with errors
=== stdout === === stderr === error[E0770]: the type of const parameters must not depend on other generic parameters --> /home/runner/work/glacier/glacier/ices/71169.rs:4:43 | 4 | fn foo<const LEN: usize, const DATA: [u8; LEN]>() {} | ^^^ the type must not depend on the parameter `LEN` error: constant expression depends on a generic parameter --> /home/runner/work/glacier/glacier/ices/71169.rs:8:14 | 8 | foo::<4, DATA>(); | ^^^^ | = note: this may fail depending on what value the parameter takes error: aborting due to 2 previous errors For more information about this error, try `rustc --explain E0770`. ==============
1 parent 9ab1462 commit ba2d804

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)