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

ices/71113.rs: fixed with no errors #1021

Merged
merged 1 commit into from
Dec 2, 2021
Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Dec 2, 2021

Issue: rust-lang/rust#71113

use std::borrow::Cow;

pub enum Recursive<'a>
where
    Recursive<'a>: ToOwned<Owned = Box<Recursive<'a>>>,
{
    Variant(MyCow<'a, Recursive<'a>>),
}

pub struct Wrapper<T>(T);

pub struct MyCow<'a, T: ToOwned<Owned = Box<T>> + 'a>(Wrapper<Cow<'a, T>>);

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

=== stdout ===
=== stderr ===
==============
@Alexendoo Alexendoo merged commit 6f5c053 into master Dec 2, 2021
@Alexendoo Alexendoo deleted the autofix/ices/71113.rs branch December 2, 2021 14:30
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