minor: fix tests.

This commit is contained in:
Dawer 2021-09-10 23:02:37 +05:00
parent dfb15292c2
commit 964c7b3211

View file

@ -3534,6 +3534,7 @@ impl<T: TraitA + TraitB> Foo<T$0> where T: Sized {}
); );
check( check(
r#" r#"
//- minicore: sized
struct Foo<T>(T); struct Foo<T>(T);
impl<T> Foo<T$0> {} impl<T> Foo<T$0> {}
"#, "#,
@ -3548,6 +3549,7 @@ impl<T> Foo<T$0> {}
// lifetimes bounds arent being tracked yet // lifetimes bounds arent being tracked yet
check( check(
r#" r#"
//- minicore: sized
struct Foo<T>(T); struct Foo<T>(T);
impl<T: 'static> Foo<T$0> {} impl<T: 'static> Foo<T$0> {}
"#, "#,