Removing trailing whitespace leftover from last re-formatting commit
This commit is contained in:
parent
0e756840f0
commit
ded0d512dc
3 changed files with 3 additions and 3 deletions
|
@ -13,7 +13,7 @@ extern "C" {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
unsafe { printf(); }
|
unsafe { printf(); }
|
||||||
//~^ ERROR E0060
|
//~^ ERROR E0060
|
||||||
//~| NOTE expected at least 1 parameter
|
//~| NOTE expected at least 1 parameter
|
||||||
//~| NOTE the following parameter type was expected
|
//~| NOTE the following parameter type was expected
|
||||||
|
|
|
@ -12,7 +12,7 @@ fn f(a: u16, b: &str) {}
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
f(0);
|
f(0);
|
||||||
//~^ ERROR E0061
|
//~^ ERROR E0061
|
||||||
//~| NOTE expected 2 parameters
|
//~| NOTE expected 2 parameters
|
||||||
//~| NOTE the following parameter types were expected
|
//~| NOTE the following parameter types were expected
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,7 +23,7 @@ fn print_x(_: &Foo<Item=bool>, extra: &str) {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
print_x(X);
|
print_x(X);
|
||||||
//~^ ERROR this function takes 2 parameters but 1 parameter was supplied
|
//~^ ERROR this function takes 2 parameters but 1 parameter was supplied
|
||||||
//~| NOTE the following parameter types were expected: &Foo<Item=bool>, &str
|
//~| NOTE the following parameter types were expected: &Foo<Item=bool>, &str
|
||||||
//~| NOTE expected 2 parameters
|
//~| NOTE expected 2 parameters
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue