about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorKamal Marhubi <kamal@marhubi.com>2016-02-08 18:47:03 -0500
committerKamal Marhubi <kamal@marhubi.com>2016-02-08 18:47:03 -0500
commitc32c7c24860eb6ed65bdec2491ba99b6eb5550b8 (patch)
tree61c875ac787a47196facdee14fe89408323b607c /src/test
parent6d2c866e22ad1999d4a16b6b7345e031ef74655c (diff)
downloadrust-c32c7c24860eb6ed65bdec2491ba99b6eb5550b8.tar.gz
rust-c32c7c24860eb6ed65bdec2491ba99b6eb5550b8.zip
driver: Include invalid predicate in error message
Diffstat (limited to 'src/test')
-rw-r--r--src/test/compile-fail/issue-31495.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/issue-31495.rs b/src/test/compile-fail/issue-31495.rs
index 0a09b65700a..794b8bb86bb 100644
--- a/src/test/compile-fail/issue-31495.rs
+++ b/src/test/compile-fail/issue-31495.rs
@@ -9,5 +9,5 @@
 // except according to those terms.
 
 // compile-flags: --cfg foo(bar)
-// error-pattern: predicates are not allowed in --cfg
+// error-pattern: invalid predicate in --cfg command line argument: `foo`
 fn main() {}