about summary refs log tree commit diff
path: root/src/test/compile-fail/ambig_impl_1.rs
diff options
context:
space:
mode:
authorGareth Daniel Smith <garethdanielsmith@gmail.com>2012-06-30 12:23:59 +0100
committerGareth Daniel Smith <garethdanielsmith@gmail.com>2012-06-30 12:23:59 +0100
commit6d86969260b73432c96b9a63a5a68559e56aabcd (patch)
treecab3c2f26893cc496933d1b10b87a5ead5e4b5cc /src/test/compile-fail/ambig_impl_1.rs
parent0b653ab9539140bb04941de9a36c03cf10bfc28b (diff)
downloadrust-6d86969260b73432c96b9a63a5a68559e56aabcd.tar.gz
rust-6d86969260b73432c96b9a63a5a68559e56aabcd.zip
change the test suite `//! kind` syntax to `//~ kind` in order to avoid a
conflict with the new single-line-sugared-inner-doc-comment (`//! ...`).
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