diff options
| author | Maybe Waffle <waffle.lapkin@gmail.com> | 2022-06-13 13:51:03 +0400 |
|---|---|---|
| committer | Maybe Waffle <waffle.lapkin@gmail.com> | 2022-06-13 14:50:25 +0400 |
| commit | 33ccd76562fe549e147bfccd0f5666505401ae0d (patch) | |
| tree | b661e4803d23415eca0af5587d2115e18e29e821 | |
| parent | dc2977e630c233866459399f0ff773505372803d (diff) | |
| download | rust-33ccd76562fe549e147bfccd0f5666505401ae0d.tar.gz rust-33ccd76562fe549e147bfccd0f5666505401ae0d.zip | |
Remove trailing whitespace
| -rw-r--r-- | compiler/rustc_typeck/src/check/pat.rs | 2 | ||||
| -rw-r--r-- | src/test/ui/mismatched_types/ref-pat-suggestions.fixed | 2 | ||||
| -rw-r--r-- | src/test/ui/mismatched_types/ref-pat-suggestions.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/compiler/rustc_typeck/src/check/pat.rs b/compiler/rustc_typeck/src/check/pat.rs index 2fadf9c8938..59d8776ca23 100644 --- a/compiler/rustc_typeck/src/check/pat.rs +++ b/compiler/rustc_typeck/src/check/pat.rs @@ -668,7 +668,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> { // so we don't suggest moving something to the type that does not exist hir::Node::Param(hir::Param { ty_span, .. }) if binding.span != *ty_span => { err.multipart_suggestion_verbose( - format!("to take parameter `{binding}` by reference, move `&{mutability}` to the type"), + format!("to take parameter `{binding}` by reference, move `&{mutability}` to the type"), vec