mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +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(
|
||||
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…
Add table
Add a link
Reference in a new issue