summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc/doc-assoc-item.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc/doc-assoc-item.rs')
-rw-r--r--src/test/rustdoc/doc-assoc-item.rs18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/test/rustdoc/doc-assoc-item.rs b/src/test/rustdoc/doc-assoc-item.rs
deleted file mode 100644
index 4f1541865..000000000
--- a/src/test/rustdoc/doc-assoc-item.rs
+++ /dev/null
@@ -1,18 +0,0 @@
-pub struct Foo<T> {
- x: T,
-}
-
-pub trait Bar {
- type Fuu;
-
- fn foo(foo: Self::Fuu);
-}
-
-// @has doc_assoc_item/struct.Foo.html '//*[@class="impl has-srclink"]' 'impl<T: Bar<Fuu = u32>> Foo<T>'
-impl<T: Bar<Fuu = u32>> Foo<T> {
- pub fn new(t: T) -> Foo<T> {
- Foo {
- x: t,
- }
- }
-}