about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2020-07-27 21:53:10 -0400
committerJoshua Nelson <jyn514@gmail.com>2020-07-27 23:19:43 -0400
commita5337d668c4976fed89551f94b03b2903f8f947c (patch)
treec0ef9842b77a360beda9b08bf6c0c866a866bfa9 /src/bootstrap
parent7768eaa0503e7e98eb2404fa4664297a84d72d38 (diff)
downloadrust-a5337d668c4976fed89551f94b03b2903f8f947c.tar.gz
rust-a5337d668c4976fed89551f94b03b2903f8f947c.zip
Use exhaustive match for assert
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/builder.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs
index a7add4cd559..144e146685f 100644
--- a/src/bootstrap/builder.rs
+++ b/src/bootstrap/builder.rs
@@ -576,7 +576,7 @@ impl<'a> Builder<'a> {
                 Kind::Test | Kind::Doc | Kind::Build | Kind::Bench | Kind::Dist | Kind::Install => {
                     assert_eq!(this.top_stage, 2)
                 }
-                _ => {}
+                Kind::Check | Kind::Clippy | Kind::Fix | Kind::Run | Kind::Format => {}
             }
         }