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

ices/79537.rs: fixed with errors #621

Merged
merged 1 commit into from
Jan 25, 2021
Merged

ices/79537.rs: fixed with errors #621

merged 1 commit into from
Jan 25, 2021

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#79537

fn change_parameter_pattern() {
    |x: x| x
}
=== stdout ===
=== stderr ===
error[E0573]: expected type, found local variable `x`
 --> /home/runner/work/glacier/glacier/ices/79537.rs:2:9
  |
2 |     |x: x| x
  |         ^ not a type

error[E0601]: `main` function not found in crate `79537`
 --> /home/runner/work/glacier/glacier/ices/79537.rs:1:1
  |
1 | / fn change_parameter_pattern() {
2 | |     |x: x| x
3 | | }
  | |_^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/79537.rs`

error: aborting due to 2 previous errors

Some errors have detailed explanations: E0573, E0601.
For more information about an error, try `rustc --explain E0573`.
==============

=== stdout ===
=== stderr ===
error[E0573]: expected type, found local variable `x`
 --> /home/runner/work/glacier/glacier/ices/79537.rs:2:9
  |
2 |     |x: x| x
  |         ^ not a type

error[E0601]: `main` function not found in crate `79537`
 --> /home/runner/work/glacier/glacier/ices/79537.rs:1:1
  |
1 | / fn change_parameter_pattern() {
2 | |     |x: x| x
3 | | }
  | |_^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/79537.rs`

error: aborting due to 2 previous errors

Some errors have detailed explanations: E0573, E0601.
For more information about an error, try `rustc --explain E0573`.
==============
@Alexendoo Alexendoo merged commit c3be7c1 into master Jan 25, 2021
@Alexendoo Alexendoo deleted the autofix/ices/79537.rs branch January 25, 2021 14:23
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