about summary refs log tree commit diff
path: root/src/test/compile-fail/ambig_impl_1.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/ambig_impl_1.rs')
-rw-r--r--src/test/compile-fail/ambig_impl_1.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/compile-fail/ambig_impl_1.rs b/src/test/compile-fail/ambig_impl_1.rs
index 0eed1c8f89f..51247c7e8e9 100644
--- a/src/test/compile-fail/ambig_impl_1.rs
+++ b/src/test/compile-fail/ambig_impl_1.rs
@@ -1,3 +1,3 @@
-impl methods1 for uint { fn me() -> uint { self } } //! NOTE candidate #1 is `methods1::me`
-impl methods2 for uint { fn me() -> uint { self } } //! NOTE candidate #2 is `methods2::me`
-fn main() { 1u.me(); } //! ERROR multiple applicable methods in scope
+impl methods1 for uint { fn me() -> uint { self } } //~ NOTE candidate #1 is `methods1::me`
+impl methods2 for uint { fn me() -> uint { self } } //~ NOTE candidate #2 is `methods2::me`
+fn main() { 1u.me(); } //~ ERROR multiple applicable methods in scope