]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/unknown-tool-name.rs
resolve: Implement prelude search for macro paths
[rust.git] / src / test / compile-fail / unknown-tool-name.rs
index c2192a21d90501026685cdeadd82c30dff2e3086..c4d22e6d392102ab9489797e4e844d04ecc31663 100644 (file)
@@ -8,9 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#![feature(tool_attributes)]
+#![feature(use_extern_macros, proc_macro_path_invoc)]
 
-#![foo::bar] //~ ERROR an unknown tool name found in scoped attribute: `foo::bar`. [E0694]
-
-#[foo::bar] //~ ERROR an unknown tool name found in scoped attribute: `foo::bar`. [E0694]
+#[foo::bar] //~ ERROR failed to resolve. Use of undeclared type or module `foo`
 fn main() {}