File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ declare_lint! {
1212 /// ### Example
1313 ///
1414 /// ```rust,edition2018
15+ /// #![feature(unqualified_local_imports)]
1516 /// #![warn(unqualified_local_imports)]
1617 ///
1718 /// mod localmod {
Original file line number Diff line number Diff line change @@ -2671,6 +2671,7 @@ declare_lint! {
26712671 /// ### Example
26722672 ///
26732673 /// ```rust
2674+ /// #![feature(strict_provenance_lints)]
26742675 /// #![warn(fuzzy_provenance_casts)]
26752676 ///
26762677 /// fn main() {
@@ -2714,6 +2715,7 @@ declare_lint! {
27142715 /// ### Example
27152716 ///
27162717 /// ```rust
2718+ /// #![feature(strict_provenance_lints)]
27172719 /// #![warn(lossy_provenance_casts)]
27182720 ///
27192721 /// fn main() {
@@ -4033,6 +4035,7 @@ declare_lint! {
40334035 /// ### Example
40344036 ///
40354037 /// ```rust
4038+ /// #![feature(test_unstable_lint)]
40364039 /// #![allow(test_unstable_lint)]
40374040 /// ```
40384041 ///
You can’t perform that action at this time.
0 commit comments