diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2024-01-04 20:20:07 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2024-01-04 20:24:16 +0100 |
| commit | 5bc76873517d152fc5753c28059b247daabbf341 (patch) | |
| tree | bffe9a6ba3fc0a66d4cb48801a8eb46c081f9dcd /tests/rustdoc/check-source-code-urls-to-def.rs | |
| parent | 35ad2ae71cee3685f4ef54a4bb0d535ae5e4fa05 (diff) | |
| download | rust-5bc76873517d152fc5753c28059b247daabbf341.tar.gz rust-5bc76873517d152fc5753c28059b247daabbf341.zip | |
Add regression test for jump to def static method calls
Diffstat (limited to 'tests/rustdoc/check-source-code-urls-to-def.rs')
| -rw-r--r-- | tests/rustdoc/check-source-code-urls-to-def.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<AnotherTrait2> = Vec::new(); + let x: Vec<&dyn AnotherTrait2> = Vec::new(); } // @has - '//pre[@class="rust"]//a[@href="../../foo/primitive.bool.html"]' 'bool' |
