about summary refs log tree commit diff
path: root/src/test/compile-fail/import-from-missing.rs
diff options
context:
space:
mode:
authorKevin Butler <haqkrs@gmail.com>2014-06-05 22:37:52 +0100
committerKevin Butler <haqkrs@gmail.com>2014-06-18 01:19:22 +0100
commit3791a8508750b48fa4e7e8a325284144877feb8c (patch)
treec23899624c34738a009cb93a4bcaff78f19ba093 /src/test/compile-fail/import-from-missing.rs
parent207bfee2140857ac5161686db97cef90f0e38907 (diff)
downloadrust-3791a8508750b48fa4e7e8a325284144877feb8c.tar.gz
rust-3791a8508750b48fa4e7e8a325284144877feb8c.zip
rustc: reduce redundant resolve errors.
Diffstat (limited to 'src/test/compile-fail/import-from-missing.rs')
-rw-r--r--src/test/compile-fail/import-from-missing.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/import-from-missing.rs b/src/test/compile-fail/import-from-missing.rs
index ecfec6c27d9..f393442de10 100644
--- a/src/test/compile-fail/import-from-missing.rs
+++ b/src/test/compile-fail/import-from-missing.rs
@@ -1,4 +1,4 @@
-// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
+// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
 // file at the top-level directory of this distribution and at
 // http://rust-lang.org/COPYRIGHT.
 //
@@ -8,8 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-// error-pattern:failed to resolve import
 use spam::{ham, eggs};
+//~^ ERROR unresolved import `spam::eggs`. There is no `eggs` in `spam`
 
 mod spam {
     pub fn ham() { }