diff --git a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs index 8740d7a1eb302..2338ac1a692c5 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()); + } } } }};