diff options
Diffstat (limited to 'src/test/rustdoc/const-doc.rs')
-rw-r--r-- | src/test/rustdoc/const-doc.rs | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/test/rustdoc/const-doc.rs b/src/test/rustdoc/const-doc.rs deleted file mode 100644 index 74ab4af61..000000000 --- a/src/test/rustdoc/const-doc.rs +++ /dev/null @@ -1,19 +0,0 @@ -use std::marker::PhantomData; - -pub struct Foo<'a> { - f: PhantomData<&'a u32>, -} - -pub struct ContentType { - pub ttype: Foo<'static>, - pub subtype: Foo<'static>, - pub params: Option<Foo<'static>>, -} - -impl ContentType { - // @has const_doc/struct.ContentType.html - // @has - '//*[@id="associatedconstant.Any"]' 'const Any: ContentType' - pub const Any: ContentType = ContentType { ttype: Foo { f: PhantomData, }, - subtype: Foo { f: PhantomData, }, - params: None, }; -} |