Move /src/test to /tests
This commit is contained in:
parent
ca855e6e42
commit
cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
10
tests/rustdoc/must_implement_one_of.rs
Normal file
10
tests/rustdoc/must_implement_one_of.rs
Normal file
|
@ -0,0 +1,10 @@
|
|||
#![crate_name = "c"]
|
||||
#![feature(rustc_attrs)]
|
||||
|
||||
#[rustc_must_implement_one_of(a, b)]
|
||||
// @matches c/trait.Trait.html '//*[@class="stab must_implement"]' \
|
||||
// 'At least one of the `a`, `b` methods is required.$'
|
||||
pub trait Trait {
|
||||
fn a() {}
|
||||
fn b() {}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue