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

Commit

Permalink
ices/99828.rs: fixed with errors
Browse files Browse the repository at this point in the history
=== stdout ===
=== stderr ===
error[E0658]: associated const equality is incomplete
 --> /home/runner/work/glacier/glacier/ices/99828.rs:1:43
  |
1 | fn get_iter(vec: &[i32]) -> impl Iterator<Item = {}> + '_ {
  |                                           ^^^^^^^^^
  |
  = note: see issue #92827 <rust-lang/rust#92827> for more information
  = help: add `#![feature(associated_const_equality)]` to the crate attributes to enable

error: expected associated type bound, found constant
 --> /home/runner/work/glacier/glacier/ices/99828.rs:1:43
  |
1 | fn get_iter(vec: &[i32]) -> impl Iterator<Item = {}> + '_ {
  |                                           ^^^^^^^^^
  |
note: associated type defined here

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0658`.
==============
  • Loading branch information
rustbot committed Jul 31, 2022
1 parent 19617cc commit 104d1ac
Showing 1 changed file with 0 additions and 0 deletions.
File renamed without changes.

0 comments on commit 104d1ac

Please sign in to comment.