Skip to content

Commit

Permalink
ices/67830.rs: fixed with errors
Browse files Browse the repository at this point in the history
=== stdout ===
=== stderr ===
error: implementation of `FnOnce` is not general enough
  --> /home/runner/work/glacier/glacier/ices/67830.rs:22:5
   |
22 |     Wrap(|a| Some(a).into_iter())
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ implementation of `FnOnce` is not general enough
   |
   = note: closure with signature `fn(&'2 A) -> std::option::IntoIter<&A>` must implement `FnOnce<(&'1 A,)>`, for any lifetime `'1`...
   = note: ...but it actually implements `FnOnce<(&'2 A,)>`, for some specific lifetime `'2`

error: aborting due to previous error

==============
  • Loading branch information
rustbot committed Feb 9, 2022
1 parent c431092 commit b20e6d2
Showing 1 changed file with 0 additions and 0 deletions.
File renamed without changes.

0 comments on commit b20e6d2

Please sign in to comment.