Skip to content

Commit

Permalink
ices/109790.rs: fixed with no errors
Browse files Browse the repository at this point in the history
=== 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
rustbot committed May 9, 2023
1 parent 08946f4 commit e686c6a
Showing 1 changed file with 0 additions and 0 deletions.
File renamed without changes.

0 comments on commit e686c6a

Please sign in to comment.