Sign in
fuchsia
/
third_party
/
rust
/
ff1c216bfa6dd00f3cd1cd03c9c20d7de783468b
/
.
/
tests
/
rustdoc
/
must_implement_one_of.rs
blob: 1f1dd5d5796ee9ca015a899b01229bc21e6f9775 [
file
] [
log
] [
blame
]
#![
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
()
{}
}