]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_save_analysis/lib.rs
resolve: Implement prelude search for macro paths
[rust.git] / src / librustc_save_analysis / lib.rs
index 761521c8807ca3f42147433202222d816b42590b..240b33c3c9478ca50ae950f9d1d11c361e0bd51f 100644 (file)
@@ -811,6 +811,8 @@ fn fn_type(path: &ast::Path) -> bool {
             HirDef::Label(..) |
             HirDef::Macro(..) |
             HirDef::GlobalAsm(..) |
+            HirDef::ToolMod |
+            HirDef::NonMacroAttr |
             HirDef::Err => None,
         }
     }