Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
lint
/
unused-qualification-in-derive-expansion.rs
blob: 5cea9086d12d4c60142b16a8369dae198c26eb11 [
file
] [
log
] [
blame
] [
edit
]
//@ 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
();
}