rust/tests/rustdoc/tuple-struct-where-clause-34928.rs

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

9 lines
209 B
Rust
Raw Normal View History

#![crate_name = "foo"]
2023-11-20 12:50:25 -06:00
// 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;