Sign in
rust
/
rust-lang
/
rust
/
refs/heads/try
/
.
/
tests
/
ui
/
lint
/
unused-qualification-in-derive-expansion.rs
blob: b2067e22c444378a446ef5cdcb53686268234c23 [
file
] [
log
] [
blame
]
//@ run-pass
//@ proc-macro: add-impl.rs
#![
forbid
(
unused_qualifications
)]
#[
macro_use
]
extern
crate add_impl
;
#[
derive
(
AddImpl
)]
struct
B
;
fn
main
()
{
B
.
foo
();
foo
();
bar
::
foo
();
}