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