fix rebase
This commit is contained in:
parent
b182259d39
commit
f98f2fcb5e
4 changed files with 7 additions and 9 deletions
|
|
@ -6,7 +6,7 @@ fn main() {
|
|||
v.push(0);
|
||||
v.push(1i32); //~ ERROR mismatched types
|
||||
//~^ NOTE expected `i32`, found `u32`
|
||||
//~| NOTE arguments to this function are incorrect
|
||||
//~| NOTE arguments to this method are incorrect
|
||||
//~| NOTE associated function defined here
|
||||
//~| HELP change the type of the numeric literal from `u32` to `i32`
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ fn main() {
|
|||
v.push(0);
|
||||
v.push(1u32); //~ ERROR mismatched types
|
||||
//~^ NOTE expected `i32`, found `u32`
|
||||
//~| NOTE arguments to this function are incorrect
|
||||
//~| NOTE arguments to this method are incorrect
|
||||
//~| NOTE associated function defined here
|
||||
//~| HELP change the type of the numeric literal from `u32` to `i32`
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ LL | v.push(0i32);
|
|||
LL | v.push(1u32);
|
||||
| ---- ^^^^ expected `i32`, found `u32`
|
||||
| |
|
||||
| arguments to this function are incorrect
|
||||
| arguments to this method are incorrect
|
||||
|
|
||||
note: associated function defined here
|
||||
--> $SRC_DIR/alloc/src/vec/mod.rs:LL:COL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue