From 296398ab52ec4beebea4523aee5f2ffd6c0ca75d Mon Sep 17 00:00:00 2001 From: Oliver Scherer Date: Tue, 27 Nov 2018 10:56:49 +0100 Subject: [PATCH] Add a test ensuring that we don't regress this --- src/test/ui/loud_ui.rs | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/test/ui/loud_ui.rs diff --git a/src/test/ui/loud_ui.rs b/src/test/ui/loud_ui.rs new file mode 100644 index 000000000000..7f98d81cd5c7 --- /dev/null +++ b/src/test/ui/loud_ui.rs @@ -0,0 +1,6 @@ +// should-fail + +// this test ensures that when we forget to use +// any `//~ ERROR` comments whatsoever, that the test doesn't succeed + +fn main() {} \ No newline at end of file