From 32ff9a03bcfa17296084c9f88ac150f59fc54f4b Mon Sep 17 00:00:00 2001 From: jumbatm Date: Tue, 21 Apr 2020 09:26:46 +1000 Subject: [PATCH] Also catch #71353 --- src/test/ui/consts/const-eval/ice-generic-assoc-const.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/test/ui/consts/const-eval/ice-generic-assoc-const.rs b/src/test/ui/consts/const-eval/ice-generic-assoc-const.rs index 4444cdfcda9c7..92153d7940aac 100644 --- a/src/test/ui/consts/const-eval/ice-generic-assoc-const.rs +++ b/src/test/ui/consts/const-eval/ice-generic-assoc-const.rs @@ -1,4 +1,5 @@ -// check-pass +// build-pass +#![crate_type = "lib"] pub trait Nullable { const NULL: Self; @@ -13,6 +14,3 @@ impl Nullable for *const T { *self == Self::NULL } } - -fn main() { -}