From 5bc76873517d152fc5753c28059b247daabbf341 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Thu, 4 Jan 2024 20:20:07 +0100 Subject: Add regression test for jump to def static method calls --- tests/rustdoc/check-source-code-urls-to-def.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/rustdoc/check-source-code-urls-to-def.rs') diff --git a/tests/rustdoc/check-source-code-urls-to-def.rs b/tests/rustdoc/check-source-code-urls-to-def.rs index b803c7e9e86..c31c579030e 100644 --- a/tests/rustdoc/check-source-code-urls-to-def.rs +++ b/tests/rustdoc/check-source-code-urls-to-def.rs @@ -62,7 +62,7 @@ pub trait AnotherTrait2 {} // @has - '//pre[@class="rust"]//a[@href="#61"]' 'AnotherTrait2' pub fn foo4() { - let x: Vec = Vec::new(); + let x: Vec<&dyn AnotherTrait2> = Vec::new(); } // @has - '//pre[@class="rust"]//a[@href="../../foo/primitive.bool.html"]' 'bool' -- cgit 1.4.1-3-g733a5