From 8fe05528bc3976d83dba9f7678f53c703679f5e3 Mon Sep 17 00:00:00 2001 From: rustbot Date: Thu, 29 Oct 2020 12:24:59 +0000 Subject: [PATCH] ices/68538.rs: fixed with errors === stdout === === stderr === warning: the feature `unsized_locals` is incomplete and may not be safe to use and/or cause compiler crashes --> /home/runner/work/glacier/glacier/ices/68538.rs:1:12 | 1 | #![feature(unsized_locals)] | ^^^^^^^^^^^^^^ | = note: `#[warn(incomplete_features)]` on by default = note: see issue #48055 for more information error[E0277]: the size for values of type `[u8]` cannot be known at compilation time --> /home/runner/work/glacier/glacier/ices/68538.rs:4:27 | 4 | pub fn take_unsized_slice(s: [u8]) { | ^ doesn't have a size known at compile-time | = help: the trait `Sized` is not implemented for `[u8]` = help: unsized fn params are gated as an unstable feature help: function arguments must have a statically known size, borrowed types always have a known size | 4 | pub fn take_unsized_slice(&s: [u8]) { | ^ error: aborting due to previous error; 1 warning emitted For more information about this error, try `rustc --explain E0277`. ============== --- {ices => fixed}/68538.rs | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {ices => fixed}/68538.rs (100%) diff --git a/ices/68538.rs b/fixed/68538.rs similarity index 100% rename from ices/68538.rs rename to fixed/68538.rs