about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2017-09-14 23:42:21 -0500
committerSamuel Holland <samuel@sholland.org>2017-09-19 21:37:19 -0500
commit314c2b14479a98acf9155dce43348e77073a09a1 (patch)
treeb0be628c4d8dc62f1b55bf05e91e534376a6f0d2 /src/test
parent779041cd5a27c7b775c9ed45948a1343a3f25f04 (diff)
Adjust dependency-resolution errors to be more consistent
Diffstat (limited to 'src/test')
-rw-r--r--src/test/compile-fail/cdylib-deps-must-be-static.rs2
-rw-r--r--src/test/compile-fail/rmeta_lib.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/cdylib-deps-must-be-static.rs b/src/test/compile-fail/cdylib-deps-must-be-static.rs
index 853507cbc6d..bf7189c21fb 100644
--- a/src/test/compile-fail/cdylib-deps-must-be-static.rs
+++ b/src/test/compile-fail/cdylib-deps-must-be-static.rs
@@ -8,7 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-// error-pattern: dependency `cdylib_dep` not found in rlib format
+// error-pattern: crate `cdylib_dep` required to be available in rlib format, but was not found
 // aux-build:cdylib-dep.rs
 // ignore-musl
 // ignore-emscripten
diff --git a/src/test/compile-fail/rmeta_lib.rs b/src/test/compile-fail/rmeta_lib.rs
index 3b7d1f3cc90..a61ff05e8c8 100644
--- a/src/test/compile-fail/rmeta_lib.rs
+++ b/src/test/compile-fail/rmeta_lib.rs
@@ -10,7 +10,7 @@
 
 // aux-build:rmeta_meta.rs
 // no-prefer-dynamic
-// error-pattern: crate `rmeta_meta` required to be available in rlib, but it was not available
+// error-pattern: crate `rmeta_meta` required to be available in rlib format, but was not found
 
 // Check that building a non-metadata crate fails if a dependent crate is
 // metadata-only.