blob: 1992174aca3e15f3610c9ca7113caf7949076eb6 [file] [edit]
//@ aux-build: use_tool.rs
// `use_tool` references tool "foo", and we want to check that it has no impact on this crate.
extern crate use_tool;
#[foo::bar] //~ ERROR cannot find module or crate `foo` in this scope
#[allow(foo::baz)] //~ ERROR unknown tool name `foo`
//~| ERROR unknown tool name `foo`
//~| ERROR unknown tool name `foo`
fn main() {}