Skip to content

Commit 2072317

Browse files
committed
warn on anon params in 015
1 parent b638d8c commit 2072317

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_lint/builtin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ declare_lint! {
630630
pub ANONYMOUS_PARAMETERS,
631631
Allow,
632632
"detects anonymous parameters",
633-
Edition::Edition2018 => Warn
633+
Warn,
634634
}
635635

636636
/// Checks for use of anonymous parameters (RFC 1685)

0 commit comments

Comments
 (0)