about summary refs log tree commit diff
path: root/tests/rustdoc/tuple-struct-where-clause-34928.rs
blob: 804663a86f40bcd58cdc12f5a68e2aea55e7f27a (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;