about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/compile-fail/ambig_impl_2_exe.rs4
-rw-r--r--src/test/compile-fail/ambig_impl_unify.rs4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/test/compile-fail/ambig_impl_2_exe.rs b/src/test/compile-fail/ambig_impl_2_exe.rs
index c77d46363b6..ca1e0293f8e 100644
--- a/src/test/compile-fail/ambig_impl_2_exe.rs
+++ b/src/test/compile-fail/ambig_impl_2_exe.rs
@@ -15,6 +15,6 @@ use ambig_impl_2_lib::me;
 trait me {
     fn me(&self) -> uint;
 }
-impl me for uint { fn me(&self) -> uint { *self } } //~ NOTE is `me$uint::me`
+impl me for uint { fn me(&self) -> uint { *self } } //~ NOTE is `uint.me::me`
 fn main() { 1u.me(); } //~ ERROR multiple applicable methods in scope
-//~^ NOTE is `ambig_impl_2_lib::me$uint::me`
+//~^ NOTE is `ambig_impl_2_lib::uint.me::me`
diff --git a/src/test/compile-fail/ambig_impl_unify.rs b/src/test/compile-fail/ambig_impl_unify.rs
index c758a173f38..1327f69630b 100644
--- a/src/test/compile-fail/ambig_impl_unify.rs
+++ b/src/test/compile-fail/ambig_impl_unify.rs
@@ -13,11 +13,11 @@ trait foo {
 }
 
 impl foo for ~[uint] {
-    fn foo(&self) -> int {1} //~ NOTE candidate #1 is `foo$$UP$$VEC$uint::foo`
+    fn foo(&self) -> int {1} //~ NOTE candidate #1 is `~[uint].foo::foo`
 }
 
 impl foo for ~[int] {
-    fn foo(&self) -> int {2} //~ NOTE candidate #2 is `foo$$UP$$VEC$int::foo`
+    fn foo(&self) -> int {2} //~ NOTE candidate #2 is `~[int].foo::foo`
 }
 
 fn main() {