Skip to content

Commit

Permalink
Switch back non_local_definitions lint to allow-by-default
Browse files Browse the repository at this point in the history
as request T-lang is requesting some major changes in the lint inner
workings in rust-lang#126768#issuecomment-2192634762

(cherry picked from commit 0c0dfb8)
  • Loading branch information
Urgau authored and charmitro committed Feb 24, 2025
1 parent 918b615 commit 1966e84
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/rustdoc-ui/doctest/non_local_defs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

#![doc(test(attr(warn(non_local_definitions))))]

#![doc(test(attr(warn(non_local_definitions))))]

//! ```
//! #[macro_export]
//! macro_rules! a_macro { () => {} }
Expand Down

0 comments on commit 1966e84

Please sign in to comment.