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

ices/75889.rs: fixed with errors #844

Merged
merged 1 commit into from
Jun 22, 2021
Merged

ices/75889.rs: fixed with errors #844

merged 1 commit into from
Jun 22, 2021

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#75889

const /* or static */ FOO: dyn Fn() /* or just fn() */ -> _ = "this can be anything";

fn main() {}
=== stdout ===
=== stderr ===
error[E0121]: the type placeholder `_` is not allowed within types on item signatures
 --> /home/runner/work/glacier/glacier/ices/75889.rs:1:59
  |
1 | const /* or static */ FOO: dyn Fn() /* or just fn() */ -> _ = "this can be anything";
  |                                                           ^ not allowed in type signatures

error: aborting due to previous error

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

=== stdout ===
=== stderr ===
error[E0121]: the type placeholder `_` is not allowed within types on item signatures
 --> /home/runner/work/glacier/glacier/ices/75889.rs:1:59
  |
1 | const /* or static */ FOO: dyn Fn() /* or just fn() */ -> _ = "this can be anything";
  |                                                           ^ not allowed in type signatures

error: aborting due to previous error

For more information about this error, try `rustc --explain E0121`.
==============
@JohnTitor JohnTitor merged commit 0163394 into master Jun 22, 2021
@JohnTitor JohnTitor deleted the autofix/ices/75889.rs branch June 22, 2021 21:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants