merge tests

This commit is contained in:
lcnr
2025-01-20 16:42:50 +01:00
committed by JJ_EMPTY_STRING
parent fef480f4b8
commit 8c078fde36
2 changed files with 5 additions and 23 deletions
@@ -1,23 +0,0 @@
// Regression test for #129541
//@ check-pass
trait Bound {}
trait Normalize {
type Assoc;
}
impl<T: Bound> Normalize for T {
type Assoc = T;
}
impl<T: Bound> Normalize for [T] {
type Assoc = T;
}
impl Bound for Hello {}
struct Hello {
a: <[Hello] as Normalize>::Assoc,
}
fn main() {}
@@ -1,5 +1,6 @@
// Regression test for #129541
//@ revisions: unique multiple
//@ check-pass
trait Bound {}
@@ -7,6 +8,10 @@ trait Normalize {
type Assoc;
}
#[cfg(multiple)]
impl<T: Bound> Normalize for T {
type Assoc = T;
}
impl<T: Bound> Normalize for [T] {
type Assoc = T;
}