mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 17:53:56 +00:00
7 lines
157 B
Rust
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;
|