From 44ca0ed92254d680cd22c3bfef71b744be4a199d Mon Sep 17 00:00:00 2001 From: rustbot Date: Mon, 7 Aug 2023 03:07:30 +0000 Subject: [PATCH] ices/109281.rs: fixed with errors === stdout === === stderr === error[E0308]: mismatched types --> /home/runner/work/glacier/glacier/ices/109281.rs:6:19 | 3 | type ReturnType<'a> = impl Eq + 'a; | ------------ the expected opaque type ... 6 | fn deref() -> &'static Self::Target {} | ----- ^^^^^^^^^^^^^^^^^^^^^ expected `&dyn Fn(&()) -> ReturnType<'_>`, found `()` | | | implicitly returns `()` as its body has no tail or `return` expression | = note: expected reference `&'static (dyn for<'a> Fn(&'a ()) -> ReturnType<'_> + 'static)` found unit type `()` error[E0186]: method `deref` has a `&self` declaration in the trait, but not in the impl --> /home/runner/work/glacier/glacier/ices/109281.rs:6:5 | 6 | fn deref() -> &'static Self::Target {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl | = note: `deref` from trait: `fn(&Self) -> &::Target` error: aborting due to 2 previous errors Some errors have detailed explanations: E0186, E0308. For more information about an error, try `rustc --explain E0186`. ============== --- {ices => fixed}/109281.rs | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {ices => fixed}/109281.rs (100%) diff --git a/ices/109281.rs b/fixed/109281.rs similarity index 100% rename from ices/109281.rs rename to fixed/109281.rs