summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc/doc-notable_trait-slice.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc/doc-notable_trait-slice.rs')
-rw-r--r--src/test/rustdoc/doc-notable_trait-slice.rs20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/test/rustdoc/doc-notable_trait-slice.rs b/src/test/rustdoc/doc-notable_trait-slice.rs
deleted file mode 100644
index 2411da8cd..000000000
--- a/src/test/rustdoc/doc-notable_trait-slice.rs
+++ /dev/null
@@ -1,20 +0,0 @@
-#![feature(doc_notable_trait)]
-
-#[doc(notable_trait)]
-pub trait SomeTrait {}
-
-pub struct SomeStruct;
-pub struct OtherStruct;
-impl SomeTrait for &[SomeStruct] {}
-
-// @has doc_notable_trait_slice/fn.bare_fn_matches.html
-// @snapshot bare_fn_matches - '//script[@id="notable-traits-data"]'
-pub fn bare_fn_matches() -> &'static [SomeStruct] {
- &[]
-}
-
-// @has doc_notable_trait_slice/fn.bare_fn_no_matches.html
-// @count - '//script[@id="notable-traits-data"]' 0
-pub fn bare_fn_no_matches() -> &'static [OtherStruct] {
- &[]
-}