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:
parent
0b653ab953
commit
6d86969260
253 changed files with 596 additions and 596 deletions
|
@ -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`
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue