Move /src/test to /tests
This commit is contained in:
parent
ca855e6e42
commit
cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
|
@ -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] {
|
||||
&[]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue