Sign in
◑
Theme
rust
/
rust
/
ea997df88e4e1b04a0f7dfdabda67e2a5ba4af6f
/
.
/
tests
/
rustdoc-html
/
impl
/
must_implement_one_of.rs
blob: 2d905df0a4566aa8bdf6df3c252b48dd76d00bde [
file
]
#![
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
()
{}
}