Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit fc97fbe

Browse files
committedJul 6, 2021
add mcve as test
1 parent 53447d8 commit fc97fbe

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed
 
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#![crate_name = "issue_86620_1"]
2+
3+
pub trait VZip {
4+
fn vzip() -> usize;
5+
}
6+
7+
impl<T> VZip for T {
8+
fn vzip() -> usize {
9+
0
10+
}
11+
}

‎src/test/rustdoc/issue-86620.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// aux-build:issue-86620-1.rs
2+
3+
extern crate issue_86620_1;
4+
5+
use issue_86620_1::*;
6+
7+
// @!has issue_86620/struct.S.html '//div[@id="method.vzip"]//a[@class="fnname"]/@href' #tymethod.vzip
8+
pub struct S;

0 commit comments

Comments
 (0)
Please sign in to comment.