1
Fork 0

Add regression test for jump to def static method calls

This commit is contained in:
Guillaume Gomez 2024-01-04 20:20:07 +01:00
parent 35ad2ae71c
commit 5bc7687351
2 changed files with 28 additions and 1 deletions

View file

@ -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'