about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-09-09 01:22:03 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-09-09 01:22:03 +0530
commitc65d33819ccf141d40bd9bf30784b36bf83c124b (patch)
tree0d256f9d16ae98639584b458f75e972fc2cbf6d8 /src/test
parent00e70051dc6fc65eba67b9f7e2368adfdf08f0a9 (diff)
downloadrust-c65d33819ccf141d40bd9bf30784b36bf83c124b.tar.gz
rust-c65d33819ccf141d40bd9bf30784b36bf83c124b.zip
Print correct crate name
Diffstat (limited to 'src/test')
-rw-r--r--src/test/compile-fail/type-mismatch-same-crate-name.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/type-mismatch-same-crate-name.rs b/src/test/compile-fail/type-mismatch-same-crate-name.rs
index 69ef31e90e4..014fa35c309 100644
--- a/src/test/compile-fail/type-mismatch-same-crate-name.rs
+++ b/src/test/compile-fail/type-mismatch-same-crate-name.rs
@@ -25,9 +25,9 @@ fn main() {
         extern crate crate_a1 as a;
         a::try_foo(foo2); //~ ERROR mismatched types
                           //~^ HELP run
-                          //~^^ NOTE Perhaps two different versions of crate `main`
+                          //~^^ NOTE Perhaps two different versions of crate `crate_a1`
         a::try_bar(bar2); //~ ERROR mismatched types
                           //~^ HELP run
-                          //~^^ NOTE Perhaps two different versions of crate `main`
+                          //~^^ NOTE Perhaps two different versions of crate `crate_a1`
     }
 }