diff options
| author | Michael Hewson <michael@michaelhewson.ca> | 2017-11-08 16:09:58 -0500 |
|---|---|---|
| committer | Michael Hewson <michael@michaelhewson.ca> | 2017-11-08 16:09:58 -0500 |
| commit | 0954e5489c0d28021890ffe14e1ed7b07a3f3772 (patch) | |
| tree | ee6e7e9ea7c609e8f80c2b96ec177a88b3e9dd5f | |
| parent | 0a3a46d3b654382c3437d469feb4caf1b7a4496c (diff) | |
| download | rust-0954e5489c0d28021890ffe14e1ed7b07a3f3772.tar.gz rust-0954e5489c0d28021890ffe14e1ed7b07a3f3772.zip | |
shorten line length for tidy
| -rw-r--r-- | src/librustc_typeck/check/wfcheck.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/librustc_typeck/check/wfcheck.rs b/src/librustc_typeck/check/wfcheck.rs index bcc05a3480a..519392ab26c 100644 --- a/src/librustc_typeck/check/wfcheck.rs +++ b/src/librustc_typeck/check/wfcheck.rs @@ -492,7 +492,8 @@ impl<'a, 'gcx> CheckTypeWellFormedVisitor<'a, 'gcx> { if fcx.infcx.can_eq(fcx.param_env, self_ty, potential_self_ty).is_ok() { autoderef.finalize(); - if let Some(mut err) = fcx.demand_eqtype_with_origin(&cause, self_ty, potential_self_ty) { + if let Some(mut err) = fcx.demand_eqtype_with_origin( + &cause, self_ty, potential_self_ty) { err.emit(); } break |
