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