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

ices/66270.rs: fixed with errors #220

Merged
merged 1 commit into from
Dec 5, 2019
Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Dec 5, 2019

Issue: rust-lang/rust#66270

struct Bug {
    incorrect_field: 0,
}

struct Empty {}

fn main() {
    let Bug {
        any_field: Empty {},
    } = Bug {};
}
=== stdout ===
=== stderr ===
error: expected type, found `0`
 --> /home/runner/work/glacier/glacier/ices/66270.rs:2:22
  |
2 |     incorrect_field: 0,
  |                      ^ expected type

error: aborting due to previous error

==============

=== stdout ===
=== stderr ===
error: expected type, found `0`
 --> /home/runner/work/glacier/glacier/ices/66270.rs:2:22
  |
2 |     incorrect_field: 0,
  |                      ^ expected type

error: aborting due to previous error

==============
@Alexendoo Alexendoo merged commit 7533d00 into master Dec 5, 2019
@Alexendoo Alexendoo deleted the autofix/ices/66270.rs branch December 5, 2019 12:45
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