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

ices/99866.rs: fixed with no errors #1410

Merged
merged 1 commit into from
Sep 3, 2022
Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Sep 3, 2022

Issue: rust-lang/rust#99866

#![crate_type = "lib"]

pub trait Backend {
    type DescriptorSetLayout;
}

pub struct Back;

impl Backend for Back {
    type DescriptorSetLayout = u32;
}

pub struct HalSetLayouts {
    vertex_layout: <Back as Backend>::DescriptorSetLayout,
}

impl HalSetLayouts {
    pub fn iter<DSL>(self) -> DSL
    where
        Back: Backend<DescriptorSetLayout = DSL>,
    {
        self.vertex_layout
    }
}
=== stdout ===
=== stderr ===
==============

=== stdout ===
=== stderr ===
==============
@Alexendoo Alexendoo merged commit 6bc6575 into master Sep 3, 2022
@Alexendoo Alexendoo deleted the autofix/ices/99866.rs branch September 3, 2022 13:18
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