Skip to content

Commit 1966e84

Browse files
Urgaucharmitro
authored andcommitted
Switch back non_local_definitions lint to allow-by-default
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)
1 parent 918b615 commit 1966e84

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/rustdoc-ui/doctest/non_local_defs.rs

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

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

9+
#![doc(test(attr(warn(non_local_definitions))))]
10+
911
//! ```
1012
//! #[macro_export]
1113
//! macro_rules! a_macro { () => {} }

0 commit comments

Comments
 (0)