Turn old edition lints (anonymous-parameters, keyword-idents) into warn-by-default on 2015
This commit is contained in:
parent
c18c0ad2bc
commit
664c3e71b8
14 changed files with 92 additions and 81 deletions
|
@ -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);
|
||||
/// }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue