diff options
| author | Jonathan Turner <jturner@mozilla.com> | 2016-12-01 16:33:48 -0800 |
|---|---|---|
| committer | Jonathan Turner <jturner@mozilla.com> | 2016-12-01 16:33:48 -0800 |
| commit | c735d7f2a53d6b3ecf9151e43066f8a30f42921c (patch) | |
| tree | bc5be373a497165a3eb69d18490d38c68a3a4d97 /src/test/compile-fail/not-enough-arguments.rs | |
| parent | b30022a1d32ebbd41f6623ab6fe7c62d489548e1 (diff) | |
| download | rust-c735d7f2a53d6b3ecf9151e43066f8a30f42921c.tar.gz rust-c735d7f2a53d6b3ecf9151e43066f8a30f42921c.zip | |
Point arg num mismatch errors back to their definition
Diffstat (limited to 'src/test/compile-fail/not-enough-arguments.rs')
| -rw-r--r-- | src/test/compile-fail/not-enough-arguments.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/not-enough-arguments.rs b/src/test/compile-fail/not-enough-arguments.rs index 660d48da4db..e13008df0d9 100644 --- a/src/test/compile-fail/not-enough-arguments.rs +++ b/src/test/compile-fail/not-enough-arguments.rs @@ -13,12 +13,12 @@ // unrelated errors. fn foo(a: isize, b: isize, c: isize, d:isize) { + //~^ NOTE defined here panic!(); } fn main() { foo(1, 2, 3); //~^ ERROR this function takes 4 parameters but 3 - //~| NOTE the following parameter types were expected: - //~| NOTE isize, isize, isize, isize + //~| NOTE expected 4 parameters } |
