Sign in
fuchsia
/
third_party
/
rust
/
d782f09ae0b88a73a69e2fa3169222cdbc47d4ec
/
.
/
src
/
test
/
ui
/
multiple-plugin-registrars.rs
blob: d211204b134be6a3d3a349bf3064cc99e399ac19 [
file
] [
log
] [
blame
]
// error-pattern: multiple plugin registration functions found
#![
feature
(
plugin_registrar
)]
// the registration function isn't typechecked yet
#[
plugin_registrar
]
pub
fn
one
()
{}
#[
plugin_registrar
]
pub
fn
two
()
{}
fn
main
()
{}