Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Commit

Permalink
ices/109090.rs: fixed with errors
Browse files Browse the repository at this point in the history
=== stdout ===
=== stderr ===
error[E0576]: cannot find associated type `Bt` in `Bt`
  --> /home/runner/work/glacier/glacier/ices/109090.rs:15:34
   |
4  |     type C;
   |     ------- associated type `C` defined here
...
15 |     for<'a, B> <B::C as Bt<'a>>::Bt: Bt, {}
   |                                  ^^
   |                                  |
   |                                  not found in `Bt`
   |                                  help: maybe you meant this associated type: `C`

error[E0404]: expected trait, found type parameter `Bt`
  --> /home/runner/work/glacier/glacier/ices/109090.rs:15:38
   |
3  | pub trait Bt {
   |           -- you might have meant to refer to this trait
...
13 | pub fn oopsie<Bt>()
   |               -- found this type parameter
14 | where
15 |     for<'a, B> <B::C as Bt<'a>>::Bt: Bt, {}
   |                                      ^^ not a trait

warning: the feature `non_lifetime_binders` is incomplete and may not be safe to use and/or cause compiler crashes
 --> /home/runner/work/glacier/glacier/ices/109090.rs:1:12
  |
1 | #![feature(non_lifetime_binders)]
  |            ^^^^^^^^^^^^^^^^^^^^
  |
  = note: see issue #108185 <rust-lang/rust#108185> for more information
  = note: `#[warn(incomplete_features)]` on by default

error[E0223]: ambiguous associated type
  --> /home/runner/work/glacier/glacier/ices/109090.rs:15:17
   |
15 |     for<'a, B> <B::C as Bt<'a>>::Bt: Bt, {}
   |                 ^^^^
   |
help: if there were a trait named `Example` with associated type `C` implemented for `B`, you could use the fully-qualified path
   |
15 |     for<'a, B> <<B as Example>::C as Bt<'a>>::Bt: Bt, {}
   |                 ~~~~~~~~~~~~~~~~~

error: aborting due to 3 previous errors; 1 warning emitted

Some errors have detailed explanations: E0223, E0404, E0576.
For more information about an error, try `rustc --explain E0223`.
==============
  • Loading branch information
rustbot committed Mar 21, 2023
1 parent 19f93e7 commit ea4a26d
Showing 1 changed file with 0 additions and 0 deletions.
File renamed without changes.

0 comments on commit ea4a26d

Please sign in to comment.