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

ices/75415.rs: fixed with no errors #653

Merged
merged 1 commit into from
Feb 14, 2021
Merged

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#75415

#![allow(incomplete_features)]
#![feature(generic_associated_types)]
#![feature(const_generics)]

pub trait Buffer<const T: usize> {}

pub trait Device {
    type Buffer<const T: usize>: Buffer<{ T }>;

    fn create_buffer<const T: usize>(&self) -> Option<Self::Buffer<{ T }>>;
}

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

=== stdout ===
=== stderr ===
==============
@Alexendoo Alexendoo merged commit 0353542 into master Feb 14, 2021
@Alexendoo Alexendoo deleted the autofix/ices/75415.rs branch February 14, 2021 20:34
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