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

ices/96225.rs: fixed with errors #1235

Merged
merged 1 commit into from
May 5, 2022
Merged

ices/96225.rs: fixed with errors #1235

merged 1 commit into from
May 5, 2022

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented May 4, 2022

Issue: rust-lang/rust#96225

fn L(,,) {
    L(vec![])
}
=== stdout ===
=== stderr ===
error: expected parameter name, found `,`
 --> /home/runner/work/glacier/glacier/ices/96225.rs:1:6
  |
1 | fn L(,,) {
  |      ^ expected parameter name

error: expected parameter name, found `,`
 --> /home/runner/work/glacier/glacier/ices/96225.rs:1:7
  |
1 | fn L(,,) {
  |       ^ expected parameter name

error[E0601]: `main` function not found in crate `96225`
 --> /home/runner/work/glacier/glacier/ices/96225.rs:3:2
  |
3 | }
  |  ^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/96225.rs`

error[E0061]: this function takes 2 arguments but 1 argument was supplied
 --> /home/runner/work/glacier/glacier/ices/96225.rs:2:5
  |
2 |     L(vec![])
  |     ^-------- an argument is missing
  |
note: function defined here
 --> /home/runner/work/glacier/glacier/ices/96225.rs:1:4
  |
1 | fn L(,,) {
  |    ^--
help: provide the argument
  |
2 |     L(vec![], {[type error]})
  |

error: aborting due to 4 previous errors

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

=== stdout ===
=== stderr ===
error: expected parameter name, found `,`
 --> /home/runner/work/glacier/glacier/ices/96225.rs:1:6
  |
1 | fn L(,,) {
  |      ^ expected parameter name

error: expected parameter name, found `,`
 --> /home/runner/work/glacier/glacier/ices/96225.rs:1:7
  |
1 | fn L(,,) {
  |       ^ expected parameter name

error[E0601]: `main` function not found in crate `96225`
 --> /home/runner/work/glacier/glacier/ices/96225.rs:3:2
  |
3 | }
  |  ^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/96225.rs`

error[E0061]: this function takes 2 arguments but 1 argument was supplied
 --> /home/runner/work/glacier/glacier/ices/96225.rs:2:5
  |
2 |     L(vec![])
  |     ^-------- an argument is missing
  |
note: function defined here
 --> /home/runner/work/glacier/glacier/ices/96225.rs:1:4
  |
1 | fn L(,,) {
  |    ^--
help: provide the argument
  |
2 |     L(vec![], {[type error]})
  |

error: aborting due to 4 previous errors

Some errors have detailed explanations: E0061, E0601.
For more information about an error, try `rustc --explain E0061`.
==============
@Alexendoo Alexendoo merged commit f0c10bc into master May 5, 2022
@Alexendoo Alexendoo deleted the autofix/ices/96225.rs branch May 5, 2022 18:00
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