diff options
| author | Gareth Daniel Smith <garethdanielsmith@gmail.com> | 2012-06-30 12:23:59 +0100 |
|---|---|---|
| committer | Gareth Daniel Smith <garethdanielsmith@gmail.com> | 2012-06-30 12:23:59 +0100 |
| commit | 6d86969260b73432c96b9a63a5a68559e56aabcd (patch) | |
| tree | cab3c2f26893cc496933d1b10b87a5ead5e4b5cc /src/test/compile-fail/sendfn-is-not-a-lambda.rs | |
| parent | 0b653ab9539140bb04941de9a36c03cf10bfc28b (diff) | |
| download | rust-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/sendfn-is-not-a-lambda.rs')
| -rw-r--r-- | src/test/compile-fail/sendfn-is-not-a-lambda.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/sendfn-is-not-a-lambda.rs b/src/test/compile-fail/sendfn-is-not-a-lambda.rs index 09d33197909..5aee9cd6fa7 100644 --- a/src/test/compile-fail/sendfn-is-not-a-lambda.rs +++ b/src/test/compile-fail/sendfn-is-not-a-lambda.rs @@ -4,5 +4,5 @@ fn test(f: fn@(uint) -> uint) -> uint { fn main() { let f = fn~(x: uint) -> uint { ret 4u; }; - log(debug, test(f)); //! ERROR expected `fn@(uint) -> uint` + log(debug, test(f)); //~ ERROR expected `fn@(uint) -> uint` } |
