mirror of
https://github.com/rust-lang/rust
synced 2024-09-05 16:57:03 +00:00
16 lines
227 B
Rust
16 lines
227 B
Rust
// Regression test for #79714
|
|
|
|
trait Grault {
|
|
type A;
|
|
}
|
|
|
|
impl<T: Grault> Grault for (T,)
|
|
//~^ ERROR overflow evaluating the requirement `<(T,) as Grault>::A == _`
|
|
where
|
|
Self::A: Copy,
|
|
{
|
|
type A = ();
|
|
}
|
|
|
|
fn main() {}
|