From e991abc479bfc2f837c32e36d70463e9debc1c6a Mon Sep 17 00:00:00 2001 From: rustbot Date: Mon, 26 Oct 2020 12:23:46 +0000 Subject: [PATCH] ices/77919.rs: fixed with errors === stdout === === stderr === error[E0412]: cannot find type `PhantomData` in this scope --> /home/runner/work/glacier/glacier/ices/77919.rs:6:9 | 6 | _n: PhantomData, | ^^^^^^^^^^^ not found in this scope | help: consider importing one of these items | 1 | use core::marker::PhantomData; | 1 | use std::marker::PhantomData; | error[E0412]: cannot find type `VAL` in this scope --> /home/runner/work/glacier/glacier/ices/77919.rs:8:63 | 8 | impl TypeVal for Multiply where N: TypeVal {} | - ^^^ not found in this scope | | | help: you might be missing a type parameter: `, VAL` error[E0046]: not all trait items implemented, missing: `VAL` --> /home/runner/work/glacier/glacier/ices/77919.rs:8:1 | 2 | const VAL: T; | ------------- `VAL` from trait ... 8 | impl TypeVal for Multiply where N: TypeVal {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `VAL` in implementation error: any use of this value will cause an error --> /home/runner/work/glacier/glacier/ices/77919.rs:2:5 | 2 | const VAL: T; | ^^^^^^^^^^^^^ no MIR body is available for DefId(0:5 ~ 77919[317d]::TypeVal::VAL) | = note: `#[deny(const_err)]` on by default error[E0080]: evaluation of constant value failed --> /home/runner/work/glacier/glacier/ices/77919.rs:11:9 | 11 | [1; >::VAL]; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ referenced constant has errors error: aborting due to 5 previous errors Some errors have detailed explanations: E0046, E0080, E0412. For more information about an error, try `rustc --explain E0046`. ============== --- {ices => fixed}/77919.rs | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {ices => fixed}/77919.rs (100%) diff --git a/ices/77919.rs b/fixed/77919.rs similarity index 100% rename from ices/77919.rs rename to fixed/77919.rs