Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
lint
/
unused-qualification-in-derive-expansion.rs
blob: c2efbf507fec88c06f79091a0d6c2f781bbd7698 [
file
] [
log
] [
blame
]
// run-pass
// aux-build:add-impl.rs
#![
forbid
(
unused_qualifications
)]
#[
macro_use
]
extern
crate add_impl
;
#[
derive
(
AddImpl
)]
struct
B
;
fn
main
()
{
B
.
foo
();
foo
();
bar
::
foo
();
}