mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-13 12:36:47 +00:00
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:
commit
f5ef1cd17c
@ -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,
|
||||
|
@ -0,0 +1,6 @@
|
||||
//@ check-pass
|
||||
|
||||
#![deny(unknown_lints)]
|
||||
#![allow(out_of_scope_macro_calls)]
|
||||
|
||||
fn main() {}
|
Loading…
Reference in New Issue
Block a user