change the test suite //! kind syntax to //~ kind in order to avoid a

conflict with the new single-line-sugared-inner-doc-comment (`//! ...`).
This commit is contained in:
Gareth Daniel Smith 2012-06-30 12:23:59 +01:00
parent 0b653ab953
commit 6d86969260
253 changed files with 596 additions and 596 deletions

View file

@ -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`
}