rust/tests/crashes/124189.rs

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

15 lines
161 B
Rust
Raw Normal View History

2024-04-21 14:01:04 -05:00
//@ known-bug: #124189
trait Trait {
type Type;
}
impl<T> Trait for T {
type Type = ();
}
fn f(_: <&Copy as Trait>::Type) {}
fn main() {
f(());
}