diff options
Diffstat (limited to 'src/test/compile-fail/ambig_impl_unify.rs')
| -rw-r--r-- | src/test/compile-fail/ambig_impl_unify.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/compile-fail/ambig_impl_unify.rs b/src/test/compile-fail/ambig_impl_unify.rs index 038ade94bd4..4a0d4f259dd 100644 --- a/src/test/compile-fail/ambig_impl_unify.rs +++ b/src/test/compile-fail/ambig_impl_unify.rs @@ -1,12 +1,12 @@ impl methods for [uint]/~ { - fn foo() -> int {1} //! NOTE candidate #1 is `methods::foo` + fn foo() -> int {1} //~ NOTE candidate #1 is `methods::foo` } impl methods for [int]/~ { - fn foo() -> int {2} //! NOTE candidate #2 is `methods::foo` + fn foo() -> int {2} //~ NOTE candidate #2 is `methods::foo` } fn main() { let x = []/~; - x.foo(); //! ERROR multiple applicable methods in scope + x.foo(); //~ ERROR multiple applicable methods in scope } \ No newline at end of file |
