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

ices/74255.rs: fixed with no errors #436

Merged
merged 1 commit into from
Jul 16, 2020
Merged

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#74255

#![feature(const_generics)]
#![allow(dead_code, incomplete_features)]

#[derive(PartialEq, Eq)]
enum IceEnum {
    Variant,
}

struct IceStruct;

impl IceStruct {
    fn ice_struct_fn<const I: IceEnum>() {}
}

fn ice_fn() {
    IceStruct::ice_struct_fn::<{ IceEnum::Variant }>();
}

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

=== stdout ===
=== stderr ===
==============
@Alexendoo Alexendoo merged commit c5bef7c into master Jul 16, 2020
@Alexendoo Alexendoo deleted the autofix/ices/74255.rs branch July 16, 2020 12:51
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