minor: fix tests.
This commit is contained in:
parent
dfb15292c2
commit
964c7b3211
@ -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> {}
|
||||
"#,
|
||||
|
Loading…
x
Reference in New Issue
Block a user