mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-05 11:48:30 +00:00
warn on anon params in 015
This commit is contained in:
parent
b638d8c75f
commit
20723178cc
@ -630,7 +630,7 @@ declare_lint! {
|
|||||||
pub ANONYMOUS_PARAMETERS,
|
pub ANONYMOUS_PARAMETERS,
|
||||||
Allow,
|
Allow,
|
||||||
"detects anonymous parameters",
|
"detects anonymous parameters",
|
||||||
Edition::Edition2018 => Warn
|
Warn,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Checks for use of anonymous parameters (RFC 1685)
|
/// Checks for use of anonymous parameters (RFC 1685)
|
||||||
|
Loading…
Reference in New Issue
Block a user