about summary refs log tree commit diff
path: root/src/test/compile-fail/issue-2063-resource.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/issue-2063-resource.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/issue-2063-resource.rs')
-rw-r--r--src/test/compile-fail/issue-2063-resource.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/issue-2063-resource.rs b/src/test/compile-fail/issue-2063-resource.rs
index 0fb4f2caf6c..9f489101f1b 100644
--- a/src/test/compile-fail/issue-2063-resource.rs
+++ b/src/test/compile-fail/issue-2063-resource.rs
@@ -1,12 +1,12 @@
 // test that autoderef of a type like this does not
 // cause compiler to loop.  Note that no instances
 // of such a type could ever be constructed.
-class t { //! ERROR this type cannot be instantiated
+class t { //~ ERROR this type cannot be instantiated
   let x: x;
   let to_str: ();
   new(x: x) { self.x = x; self.to_str = (); }
 }
-enum x = @t; //! ERROR this type cannot be instantiated
+enum x = @t; //~ ERROR this type cannot be instantiated
 
 fn main() {
 }