From 1adf83b128de3043ff0c24863e398c59e4ebb743 Mon Sep 17 00:00:00 2001 From: Pietro Albini Date: Thu, 3 Nov 2022 11:47:05 +0100 Subject: [PATCH] check for pattern in compiletest-compile-flags-last --- src/test/ui/compiletest-compile-flags-last.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/ui/compiletest-compile-flags-last.rs b/src/test/ui/compiletest-compile-flags-last.rs index 9c78e4c5e9d..232df10f1a8 100644 --- a/src/test/ui/compiletest-compile-flags-last.rs +++ b/src/test/ui/compiletest-compile-flags-last.rs @@ -4,3 +4,4 @@ // next flag as the argument of this flag. // // compile-flags: --cap-lints +// error-pattern: Argument to option 'cap-lints' missing