summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/tuple-struct-where-clause-34928.rs
blob: 909b91468931b848407324ece8726ee43d09f28e (plain)
1
2
3
4
5
6
7
8
#![crate_name = "foo"]

// https://github.com/rust-lang/rust/issues/34928

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;