add mcve as test

This commit is contained in:
François Mockers 2021-07-05 01:30:48 +02:00
parent 53447d81d0
commit fc97fbeef3
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,11 @@
#![crate_name = "issue_86620_1"]
pub trait VZip {
fn vzip() -> usize;
}
impl<T> VZip for T {
fn vzip() -> usize {
0
}
}

View File

@ -0,0 +1,8 @@
// aux-build:issue-86620-1.rs
extern crate issue_86620_1;
use issue_86620_1::*;
// @!has issue_86620/struct.S.html '//div[@id="method.vzip"]//a[@class="fnname"]/@href' #tymethod.vzip
pub struct S;