Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
lint
/
unused-qualification-in-derive-expansion.rs
blob: bf095c6449d8f400180c821473305e3aaf4a908d [
file
] [
log
] [
blame
]
//@ run-pass
//@ proc-macro: add-impl.rs
//@ ignore-backends: gcc
#![
forbid
(
unused_qualifications
)]
#[
macro_use
]
extern
crate add_impl
;
#[
derive
(
AddImpl
)]
struct
B
;
fn
main
()
{
B
.
foo
();
foo
();
bar
::
foo
();
}