mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-10 15:14:32 +00:00
Add a test case
This commit is contained in:
parent
92a6e51b20
commit
a871730142
1 changed files with 2 additions and 0 deletions
|
@ -2051,6 +2051,8 @@ fn test() {
|
|||
// ^ Wrap<'?, ()>
|
||||
let x = S::foo::<&()>(&S);
|
||||
// ^ Wrap<'?, ()>
|
||||
let x = S.foo::<'static, &()>();
|
||||
// ^ Wrap<'?, ()>
|
||||
let x = S.foo::<&()>();
|
||||
// ^ Wrap<'?, ()>
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue