about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/bootstrap/builder.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs
index 8740d7a1eb3..2338ac1a692 100644
--- a/src/bootstrap/builder.rs
+++ b/src/bootstrap/builder.rs
@@ -113,11 +113,16 @@ macro_rules! check {
             })+
         } else {
             for path in paths {
+                let mut attempted_run = false;
                 $({
                     if <$rule>::should_run($self, path) {
+                        attempted_run = true;
                         $self.maybe_run::<$rule>(Some(path));
                     }
                 })+
+                if !attempted_run {
+                    eprintln!("Warning: no rules matched {}.", path.display());
+                }
             }
         }
     }};