Add regression test for jump to def static method calls
This commit is contained in:
parent
35ad2ae71c
commit
5bc7687351
2 changed files with 28 additions and 1 deletions
|
@ -62,7 +62,7 @@ pub trait AnotherTrait2 {}
|
|||
|
||||
// @has - '//pre[@class="rust"]//a[@href="#61"]' 'AnotherTrait2'
|
||||
pub fn foo4() {
|
||||
let x: Vec<AnotherTrait2> = Vec::new();
|
||||
let x: Vec<&dyn AnotherTrait2> = Vec::new();
|
||||
}
|
||||
|
||||
// @has - '//pre[@class="rust"]//a[@href="../../foo/primitive.bool.html"]' 'bool'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue