diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2020-11-16 17:26:35 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-16 17:26:35 +0100 |
| commit | 835faa532f485883a3da86c14cfe4abdbaa3ce71 (patch) | |
| tree | d4c8fb5acfc1ec114198b61597753ec3ea2fb7f8 /src/test/ui/parser | |
| parent | bac213bee4b709843094a6868f4db98056407ed2 (diff) | |
| parent | 69b43c209c2808f3b6fe0eef857dc7585503666d (diff) | |
Rollup merge of #79032 - lcnr:arg-count, r=varkor
improve type const mismatch errors Doesn't completely remove `check_generic_arg_count` as that would have required some more complex changes but instead checks type and const params in only one step. Also moved the help added by `@JulianKnodt` in #75611 to `generic_arg_mismatch_err`. r? `@varkor` cc `@petrochenkov`
Diffstat (limited to 'src/test/ui/parser')
| -rw-r--r-- | src/test/ui/parser/issue-14303-fncall.stderr | 2 | ||||
| -rw-r--r-- | src/test/ui/parser/issue-14303-path.stderr | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/test/ui/parser/issue-14303-fncall.stderr b/src/test/ui/parser/issue-14303-fncall.stderr index 10954223713..cdda0d001c7 100644 --- a/src/test/ui/parser/issue-14303-fncall.stderr +++ b/src/test/ui/parser/issue-14303-fncall.stderr @@ -3,8 +3,6 @@ error[E0747]: type provided when a lifetime was expected | LL | .collect::<Vec<S<_, 'a>>>(); | ^ - | - = note: lifetime arguments must be provided before type arguments error: aborting due to previous error diff --git a/src/test/ui/parser/issue-14303-path.stderr b/src/test/ui/parser/issue-14303-path.stderr index c1ad2332b5b..841e63ecbe9 100644 --- a/src/test/ui/parser/issue-14303-path.stderr +++ b/src/test/ui/parser/issue-14303-path.stderr @@ -3,8 +3,6 @@ error[E0747]: type provided when a lifetime was expected | LL | fn bar<'a, 'b, 'c, T>(x: foo::X<'a, T, 'b, 'c>) {} | ^ - | - = note: lifetime arguments must be provided before type arguments error: aborting due to previous error |
