Rollup merge of #127191 - beetrees:register-out-of-scope-macro-calls, r=compiler-errors

Ensure `out_of_scope_macro_calls` lint is registered

Fixes part of https://github.com/rust-lang/rust/issues/126984#issuecomment-2198792687.
This commit is contained in:
Matthias Krüger 2024-07-01 08:53:09 +02:00 committed by GitHub
commit f5ef1cd17c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 0 deletions

View File

@ -74,6 +74,7 @@ declare_lint_pass! {
NON_CONTIGUOUS_RANGE_ENDPOINTS,
NON_EXHAUSTIVE_OMITTED_PATTERNS,
ORDER_DEPENDENT_TRAIT_OBJECTS,
OUT_OF_SCOPE_MACRO_CALLS,
OVERLAPPING_RANGE_ENDPOINTS,
PATTERNS_IN_FNS_WITHOUT_BODY,
PRIVATE_BOUNDS,

View File

@ -0,0 +1,6 @@
//@ check-pass
#![deny(unknown_lints)]
#![allow(out_of_scope_macro_calls)]
fn main() {}