diff options
Diffstat (limited to 'tests/rustdoc/issue-34928.rs')
-rw-r--r-- | tests/rustdoc/issue-34928.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/rustdoc/issue-34928.rs b/tests/rustdoc/issue-34928.rs new file mode 100644 index 000000000..91b677574 --- /dev/null +++ b/tests/rustdoc/issue-34928.rs @@ -0,0 +1,6 @@ +#![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; |