rust/tests/rustdoc/issue-34928.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
157 B
Rust
Raw Normal View History

#![crate_name = "foo"]
pub trait Bar {}
2022-08-31 15:05:46 +00:00
// @has foo/struct.Foo.html '//pre' 'pub struct Foo<T>(pub T)where T: Bar;'
pub struct Foo<T>(pub T) where T: Bar;