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

ices/71344.rs: fixed with no errors #344

Merged
merged 1 commit into from
Apr 29, 2020
Merged

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#71344

pub struct DirEnts<'a> {
    pub cluster: ::std::marker::PhantomData<&'a ()>,
}
impl<'a> DirEnts<'a> {
    pub fn next(&mut self) -> [u8; 12] {
        // NOTE: Tuple destructure needed
        // NOTE: Arithmatic needed
        let (outname,) = ([0u8; 12 + 0],);
        outname
    }
}

fn main() {}
=== stdout ===
=== stderr ===
==============

=== stdout ===
=== stderr ===
==============
@Alexendoo Alexendoo merged commit 7ff73f4 into master Apr 29, 2020
@Alexendoo Alexendoo deleted the autofix/ices/71344.rs branch April 29, 2020 12:15
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