From f0b5ac3a11373dc5fa70f5ee59be0ddfc98698c6 Mon Sep 17 00:00:00 2001 From: rustbot Date: Sun, 10 Oct 2021 12:06:50 +0000 Subject: [PATCH] ices/52893.rs: fixed with errors === stdout === === stderr === error[E0601]: `main` function not found in crate `52893` --> /home/runner/work/glacier/glacier/ices/52893.rs:1:1 | 1 | / impl AddClass for Class 2 | | where 3 | | Self: At, 4 | | as At>::AtRes: Push, ... | 66 | | fn to_ref(&self) -> Self::Output; 67 | | } | |_^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/52893.rs` error[E0308]: mismatched types --> /home/runner/work/glacier/glacier/ices/52893.rs:16:22 | 1 | impl AddClass for Class | ----- this type parameter ... 16 | builder.push(output) | ^^^^^^ expected type parameter `OLIST`, found struct `Class` | = note: expected type parameter `OLIST` found struct `Class` error[E0308]: mismatched types --> /home/runner/work/glacier/glacier/ices/52893.rs:16:9 | 12 | fn init(self, func: F) -> Self::Output { | ------------ expected `Class` because of return type ... 16 | builder.push(output) | ^^^^^^^^^^^^^^^^^^^^ expected struct `Class`, found associated type | = note: expected struct `Class` found associated type `<< as At>::AtRes as Push>::PushRes as Push>::PushRes` = help: consider constraining the associated type `<< as At>::AtRes as Push>::PushRes as Push>::PushRes` to `Class` = note: for more information, visit https://doc.rust-lang.org/book/ch19-03-advanced-traits.html error: aborting due to 3 previous errors Some errors have detailed explanations: E0308, E0601. For more information about an error, try `rustc --explain E0308`. ============== --- {ices => fixed}/52893.rs | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {ices => fixed}/52893.rs (100%) diff --git a/ices/52893.rs b/fixed/52893.rs similarity index 100% rename from ices/52893.rs rename to fixed/52893.rs