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

ices/85031-2.sh: fixed with no errors #906

Merged
merged 1 commit into from
Aug 23, 2021
Merged

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#85031

#!/bin/bash

rustc --edition 2018 -C incremental=foo --crate-type lib - <<'EOF'
#![allow(incomplete_features)]
#![feature(const_generics, const_evaluatable_checked)]

pub struct Ref<'a>(&'a i32);

impl Ref<'_> {
    pub fn foo<const A: usize>()
    where
        ([(); A - 0], ()): Sized,
    {
        Self::bar::<A>()
    }

    fn bar<const A: usize>()
    where
    ([(); A - 0], ()): Sized,
    {
    }
}

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

=== stdout ===
=== stderr ===
==============
@Alexendoo Alexendoo merged commit 4d56551 into master Aug 23, 2021
@Alexendoo Alexendoo deleted the autofix/ices/85031-2.sh branch August 23, 2021 13:39
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