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

ices/69487-2.rs: fixed with errors #1132

Merged
merged 1 commit into from
Feb 13, 2022
Merged

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#69487

struct Bug {
    A: [(); {
        let x: usize;
        x
    }],
}

fn main() {}
=== stdout ===
=== stderr ===
error[E0381]: use of possibly-uninitialized variable: `x`
 --> /home/runner/work/glacier/glacier/ices/69487-2.rs:4:9
  |
4 |         x
  |         ^ use of possibly-uninitialized `x`

error: aborting due to previous error

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

=== stdout ===
=== stderr ===
error[E0381]: use of possibly-uninitialized variable: `x`
 --> /home/runner/work/glacier/glacier/ices/69487-2.rs:4:9
  |
4 |         x
  |         ^ use of possibly-uninitialized `x`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0381`.
==============
@Alexendoo Alexendoo merged commit a8d2e47 into master Feb 13, 2022
@Alexendoo Alexendoo deleted the autofix/ices/69487-2.rs branch February 13, 2022 13:27
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