rust/tests/rustdoc/issue-34928.rs
2023-01-11 09:32:08 +00:00

7 lines
157 B
Rust

#![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;