This repository has been archived by the owner on May 23, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ices/109790.rs: fixed with no errors
=== stdout === === stderr === warning: the feature `inherent_associated_types` is incomplete and may not be safe to use and/or cause compiler crashes --> /home/runner/work/glacier/glacier/ices/109790.rs:1:12 | 1 | #![feature(inherent_associated_types)] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: see issue #8995 <rust-lang/rust#8995> for more information = note: `#[warn(incomplete_features)]` on by default warning: struct `Foo` is never constructed --> /home/runner/work/glacier/glacier/ices/109790.rs:3:8 | 3 | struct Foo<T>(T); | ^^^ | = note: `#[warn(dead_code)]` on by default warning: associated type `Assoc` is never used --> /home/runner/work/glacier/glacier/ices/109790.rs:6:10 | 5 | impl<'a> Foo<fn(&'a ())> { | ------------------------ associated type in this implementation 6 | type Assoc = &'a (); | ^^^^^ warning: function `bar` is never used --> /home/runner/work/glacier/glacier/ices/109790.rs:12:4 | 12 | fn bar(_: for<'a> fn(Foo<fn(&'a ())>::Assoc)) {} | ^^^ warning: 4 warnings emitted ==============
- Loading branch information