rust/tests/crashes/133868.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
172 B
Rust
Raw Normal View History

2024-12-12 22:55:31 +01:00
//@ known-bug: #133868
trait Foo {
type Assoc;
}
trait Bar {
fn method() -> impl Sized;
}
impl<T> Bar for T where <T as Foo>::Assoc: Sized
{
fn method() {}
}