Turn old edition lints (anonymous-parameters, keyword-idents) into warn-by-default on 2015
This commit is contained in:
@@ -1768,6 +1768,7 @@ mod super_keyword {}
|
||||
/// In the 2015 edition the parameters pattern was not needed for traits:
|
||||
///
|
||||
/// ```rust,edition2015
|
||||
/// # #![allow(anonymous_parameters)]
|
||||
/// trait Tr {
|
||||
/// fn f(i32);
|
||||
/// }
|
||||
|
||||
Reference in New Issue
Block a user