Skip to content

Commit d5d1ee8

Browse files
committed
Deny rust_2018_idioms globally
1 parent 7754865 commit d5d1ee8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bootstrap/bin/rustc.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ fn main() {
308308
{
309309
cmd.arg("-Dwarnings");
310310
cmd.arg("-Dbare_trait_objects");
311+
cmd.arg("-Drust_2018_idioms");
311312
}
312313

313314
if verbose > 1 {

0 commit comments

Comments
 (0)