resolve: Implement a lint for out-of-scope use of macro_rules

This commit is contained in:
Vadim Petrochenkov
2024-06-18 16:45:50 +03:00
parent 0195758c1a
commit c4c7859e40
12 changed files with 283 additions and 102 deletions

View File

@@ -744,6 +744,9 @@ pub enum BuiltinLintDiag {
InnerAttributeUnstable {
is_macro: bool,
},
OutOfScopeMacroCalls {
path: String,
},
}
/// Lints that are buffered up early on in the `Session` before the