From 3038f1fcb0d165863f6fb98f110650fec6ef7cc0 Mon Sep 17 00:00:00 2001 From: rustbot Date: Mon, 6 Dec 2021 12:08:10 +0000 Subject: [PATCH] ices/90654.rs: fixed with errors === stdout === === stderr === warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes --> /home/runner/work/glacier/glacier/ices/90654.rs:1:12 | 1 | #![feature(generic_const_exprs)] | ^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(incomplete_features)]` on by default = note: see issue #76560 for more information error[E0601]: `main` function not found in crate `90654` --> /home/runner/work/glacier/glacier/ices/90654.rs:1:1 | 1 | / #![feature(generic_const_exprs)] 2 | | 3 | | trait TyNum { 4 | | const VAL: usize; ... | 22 | | consume(make_array::()); 23 | | } | |_^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/90654.rs` error[E0277]: the trait bound `[i32; _]: SmallArray` is not satisfied --> /home/runner/work/glacier/glacier/ices/90654.rs:22:13 | 22 | consume(make_array::()); | ------- ^^^^^^^^^^^^^^^^^ the trait `SmallArray` is not implemented for `[i32; _]` | | | required by a bound introduced by this call | note: required by a bound in `consume` --> /home/runner/work/glacier/glacier/ices/90654.rs:15:15 | 15 | fn consume(t: T) {} | ^^^^^^^^^^ required by this bound in `consume` help: consider extending the `where` bound, but there might be an alternative better way to express this requirement | 20 | [(); T::VAL + 1]:, [i32; _]: SmallArray | ~~~~~~~~~~~~~~~~~~~~~~ error: aborting due to 2 previous errors; 1 warning emitted Some errors have detailed explanations: E0277, E0601. For more information about an error, try `rustc --explain E0277`. ============== --- {ices => fixed}/90654.rs | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {ices => fixed}/90654.rs (100%) diff --git a/ices/90654.rs b/fixed/90654.rs similarity index 100% rename from ices/90654.rs rename to fixed/90654.rs