diff options
| author | varkor <github@varkor.com> | 2020-01-20 22:16:42 +0000 |
|---|---|---|
| committer | varkor <github@varkor.com> | 2020-02-22 00:27:44 +0000 |
| commit | 2a504878c3d1f80581e6b202490e10fe199914da (patch) | |
| tree | 94028e419b753f2b2950442707e7dccd7908733d | |
| parent | 1d7e8187470180efa8ea9c837af095835192cede (diff) | |
| download | rust-2a504878c3d1f80581e6b202490e10fe199914da.tar.gz rust-2a504878c3d1f80581e6b202490e10fe199914da.zip | |
Return whether `check_generic_arg_count` finds an error
| -rw-r--r-- | src/librustc_typeck/astconv.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/librustc_typeck/astconv.rs b/src/librustc_typeck/astconv.rs index 78c05a51e4f..599fb7c57f7 100644 --- a/src/librustc_typeck/astconv.rs +++ b/src/librustc_typeck/astconv.rs @@ -402,10 +402,7 @@ impl<'o, 'tcx> dyn AstConv<'tcx> + 'o { } err.emit(); - ( - provided > required, // `suppress_error` - potential_assoc_types, - ) + (true, potential_assoc_types) }; if reported_late_bound_region_err.is_none() |
