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

ices/63279.rs: fixed with errors #192

Merged
merged 1 commit into from
Oct 26, 2019
Merged

ices/63279.rs: fixed with errors #192

merged 1 commit into from
Oct 26, 2019

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#63279

=== stdout ===
=== stderr ===
error[E0271]: type mismatch resolving `<[closure@/home/runner/work/glacier/glacier/ices/63279.rs:6:5: 6:28] as std::ops::FnOnce<()>>::Output == ()`
 --> /home/runner/work/glacier/glacier/ices/63279.rs:3:1
  |
3 | type Closure = impl FnOnce();
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected opaque type, found ()
  |
  = note: expected type `Closure`
             found type `()`
  = note: the return type of a function must have a statically known size

error: aborting due to previous error

For more information about this error, try `rustc --explain E0271`.
==============

=== stdout ===
=== stderr ===
error[E0271]: type mismatch resolving `<[closure@/home/runner/work/glacier/glacier/ices/63279.rs:6:5: 6:28] as std::ops::FnOnce<()>>::Output == ()`
 --> /home/runner/work/glacier/glacier/ices/63279.rs:3:1
  |
3 | type Closure = impl FnOnce();
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected opaque type, found ()
  |
  = note: expected type `Closure`
             found type `()`
  = note: the return type of a function must have a statically known size

error: aborting due to previous error

For more information about this error, try `rustc --explain E0271`.
==============
@JohnTitor
Copy link
Member

The original issue hasn't been closed but the ICE doesn't appear anymore.

@JohnTitor JohnTitor merged commit 0c8ec9d into master Oct 26, 2019
@JohnTitor JohnTitor deleted the autofix/ices/63279.rs branch October 26, 2019 12:30
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants