mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 14:51:48 +00:00
minor: fix tests.
This commit is contained in:
parent
dfb15292c2
commit
964c7b3211
1 changed files with 2 additions and 0 deletions
|
@ -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> {}
|
||||||
"#,
|
"#,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue