Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
=== 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) -> &<Self as Deref>::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`. ==============
- Loading branch information