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

ices/91827-0.rs: fixed with no errors #1059

Merged
merged 1 commit into from
Dec 20, 2021
Merged

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#91827

#![feature(extern_types)]

extern "C" {
    type Content;
}

pub struct List {
    len: usize,
    _opaque: Content,
}

pub fn main() {
    let _len = match Option::<&List>::None {
        Some(a) => a.len,
        None => 0,
    };
}
=== stdout ===
=== stderr ===
==============

=== stdout ===
=== stderr ===
==============
Copy link
Member

@JohnTitor JohnTitor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JohnTitor JohnTitor merged commit bd77f1f into master Dec 20, 2021
@JohnTitor JohnTitor deleted the autofix/ices/91827-0.rs branch December 20, 2021 08:14
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