Skip to content

Commit 60a9ba6

Browse files
committed
Turn old edition lints (anonymous-parameters, keyword-idents) into warn-by-default on 2015
1 parent f2f0fcf commit 60a9ba6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

std/src/keyword_docs.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1768,6 +1768,7 @@ mod super_keyword {}
17681768
/// In the 2015 edition the parameters pattern was not needed for traits:
17691769
///
17701770
/// ```rust,edition2015
1771+
/// # #![allow(anonymous_parameters)]
17711772
/// trait Tr {
17721773
/// fn f(i32);
17731774
/// }

0 commit comments

Comments
 (0)