summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/issue-34928.rs
blob: 91b67757453d2e788343eb82a15fa1d26313d309 (plain)
1
2
3
4
5
6
#![crate_name = "foo"]

pub trait Bar {}

// @has foo/struct.Foo.html '//pre' 'pub struct Foo<T>(pub T)where T: Bar;'
pub struct Foo<T>(pub T) where T: Bar;