summary refs log tree commit diff
path: root/src/test/rustdoc/issue-33592.rs
blob: 81450f15c207822bd8d1cac03f34ae8d8dd8879c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#![crate_name = "foo"]

pub trait Foo<T> {}

pub struct Bar;

pub struct Baz;

// @has foo/trait.Foo.html '//code' 'impl Foo<i32> for Bar'
impl Foo<i32> for Bar {}

// @has foo/trait.Foo.html '//code' 'impl<T> Foo<T> for Baz'
impl<T> Foo<T> for Baz {}