about summary refs log tree commit diff
path: root/src/test/compile-fail/tutorial-suffix-inference-test.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/tutorial-suffix-inference-test.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/tutorial-suffix-inference-test.rs')
-rw-r--r--src/test/compile-fail/tutorial-suffix-inference-test.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/compile-fail/tutorial-suffix-inference-test.rs b/src/test/compile-fail/tutorial-suffix-inference-test.rs
index fa07be952c1..41fe5864ec3 100644
--- a/src/test/compile-fail/tutorial-suffix-inference-test.rs
+++ b/src/test/compile-fail/tutorial-suffix-inference-test.rs
@@ -7,9 +7,9 @@ fn main() {
 
     identity_u8(x);  // after this, `x` is assumed to have type `u8`
     identity_u16(x);
-    //!^ ERROR mismatched types: expected `u16` but found `u8`
+    //~^ ERROR mismatched types: expected `u16` but found `u8`
     identity_u16(y);
-    //!^ ERROR mismatched types: expected `u16` but found `i32`
+    //~^ ERROR mismatched types: expected `u16` but found `i32`
 
     let a = 3i;
     
@@ -17,6 +17,6 @@ fn main() {
 
     identity_i(a); // ok
     identity_u16(a); 
-    //!^ ERROR mismatched types: expected `u16` but found `int`
+    //~^ ERROR mismatched types: expected `u16` but found `int`
 
 }
\ No newline at end of file