]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/consts/const-eval/ice-generic-assoc-const.rs
Auto merge of #81132 - bugadani:map-prealloc, r=matthewjasper
[rust.git] / src / test / ui / consts / const-eval / ice-generic-assoc-const.rs
index 4444cdfcda9c7ae27383ae140b6ef8a91cfaba85..e514682af9c20276e31dee9a3f01cfbfcad9c479 100644 (file)
@@ -1,4 +1,5 @@
-// check-pass
+// build-pass (tests post-monomorphisation failure)
+#![crate_type = "lib"]
 
 pub trait Nullable {
     const NULL: Self;
@@ -13,6 +14,3 @@ fn is_null(&self) -> bool {
         *self == Self::NULL
     }
 }
-
-fn main() {
-}