From a63fd59cb723212a13438aaa1a6469160c4c18b9 Mon Sep 17 00:00:00 2001 From: rustbot Date: Mon, 28 Dec 2020 12:26:10 +0000 Subject: [PATCH] ices/62708.rs: fixed with errors === stdout === === stderr === error: generic parameters may not be used in const operations --> /home/runner/work/glacier/glacier/ices/62708.rs:2:52 | 2 | d: [std::marker::PhantomData; MultiDriver::::MAX_DRIVERS], | ^ cannot perform const operation using `D` | = note: type parameters may not be used in const expressions = help: use `#![feature(const_generics)]` and `#![feature(const_evaluatable_checked)]` to allow generic const expressions error[E0601]: `main` function not found in crate `62708` --> /home/runner/work/glacier/glacier/ices/62708.rs:1:1 | 1 | / pub struct MultiDriver { 2 | | d: [std::marker::PhantomData; MultiDriver::::MAX_DRIVERS], 3 | | } 4 | | 5 | | impl MultiDriver { 6 | | const MAX_DRIVERS: usize = 10; 7 | | } | |_^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/62708.rs` error: aborting due to 2 previous errors For more information about this error, try `rustc --explain E0601`. ============== --- {ices => fixed}/62708.rs | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {ices => fixed}/62708.rs (100%) diff --git a/ices/62708.rs b/fixed/62708.rs similarity index 100% rename from ices/62708.rs rename to fixed/62708.rs