about summary refs log tree commit diff
path: root/src/libsyntax_ext
diff options
context:
space:
mode:
authorTyler Mandry <tmandry@gmail.com>2019-11-14 07:26:41 -0800
committerTyler Mandry <tmandry@gmail.com>2019-11-15 05:52:06 -0800
commitd252ba35d490f16d2efefdedc581b1c9d6d64ecb (patch)
tree65c1e6d7d613a88d60873f2635c327d9ad809814 /src/libsyntax_ext
parentb8dca6c82714d04a26071a48cd671ad707249950 (diff)
downloadrust-d252ba35d490f16d2efefdedc581b1c9d6d64ecb.tar.gz
rust-d252ba35d490f16d2efefdedc581b1c9d6d64ecb.zip
Improve error message for tests with panic=abort
Diffstat (limited to 'src/libsyntax_ext')
-rw-r--r--src/libsyntax_ext/test_harness.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libsyntax_ext/test_harness.rs b/src/libsyntax_ext/test_harness.rs
index 1492f6f575f..659780d7a43 100644
--- a/src/libsyntax_ext/test_harness.rs
+++ b/src/libsyntax_ext/test_harness.rs
@@ -67,7 +67,8 @@ pub fn inject(
                 PanicStrategy::Unwind
             }
             (PanicStrategy::Abort, false) => {
-                span_diagnostic.err("building tests with panic=abort is not yet supported");
+                span_diagnostic.err("building tests with panic=abort is not supported \
+                                     without `-Zpanic_abort_tests`");
                 PanicStrategy::Unwind
             }
             (PanicStrategy::Unwind, _) => PanicStrategy::Unwind,