From 0b32c884e9b16c3d8c373c88bd06497d749e368f Mon Sep 17 00:00:00 2001 From: rustbot Date: Fri, 24 Jan 2020 12:05:56 +0000 Subject: [PATCH] ices/62222.rs: fixed with errors === stdout === === stderr === warning: the feature `const_generics` is incomplete and may cause the compiler to crash --> /home/runner/work/glacier/glacier/ices/62222.rs:1:12 | 1 | #![feature(const_generics)] | ^^^^^^^^^^^^^^ | = note: `#[warn(incomplete_features)]` on by default error: constant expression depends on a generic parameter --> /home/runner/work/glacier/glacier/ices/62222.rs:11:24 | 11 | let mut tail = MaybeUninit::<[T; N - 1]>::uninit(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this may fail depending on what value the parameter takes error: constant expression depends on a generic parameter --> /home/runner/work/glacier/glacier/ices/62222.rs:11:24 | 11 | let mut tail = MaybeUninit::<[T; N - 1]>::uninit(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this may fail depending on what value the parameter takes error: constant expression depends on a generic parameter --> /home/runner/work/glacier/glacier/ices/62222.rs:13:38 | 13 | let tailp: *mut T = unsafe { mem::transmute(&mut tail) }; | ^^^^^^^^^^^^^^ | = note: this may fail depending on what value the parameter takes error: constant expression depends on a generic parameter --> /home/runner/work/glacier/glacier/ices/62222.rs:32:18 | 32 | unsafe { tail.assume_init(); } // Drop the tail | ^^^^^^^^^^^^^^^^^^ | = note: this may fail depending on what value the parameter takes error: aborting due to 4 previous errors ============== --- {ices => fixed}/62222.rs | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {ices => fixed}/62222.rs (100%) diff --git a/ices/62222.rs b/fixed/62222.rs similarity index 100% rename from ices/62222.rs rename to fixed/62222.rs