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

ices/68684-2.rs: fixed with no errors #287

Merged
merged 1 commit into from
Feb 16, 2020
Merged

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#68684

enum _Enum {
    A(),
}

type _E = _Enum;

const fn _a() -> _Enum {
    _E::A() // Changing to `_Enum::A()` makes it compile.
}

const _A: _Enum = _a();

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

=== stdout ===
=== stderr ===
==============
@Alexendoo Alexendoo merged commit 641703f into master Feb 16, 2020
@Alexendoo Alexendoo deleted the autofix/ices/68684-2.rs branch February 16, 2020 13:36
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