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

ices/75299.sh: fixed with no errors #462

Merged
merged 1 commit into from
Sep 7, 2020
Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Sep 6, 2020

Issue: rust-lang/rust#75299

#!/bin/bash

rustc -Z mir-opt-level=3 - << EOF
#![feature(const_generics, box_syntax)]
#![allow(incomplete_features)]

fn main() {
    fn foo<const N: usize>() {
        box [0; N];
    }
    foo::<1>();
}

EOF
=== stdout ===
=== stderr ===
==============

=== stdout ===
=== stderr ===
==============
@Alexendoo Alexendoo merged commit 36eec0f into master Sep 7, 2020
@Alexendoo Alexendoo deleted the autofix/ices/75299.sh branch September 7, 2020 20:07
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