diff options
| author | bors <bors@rust-lang.org> | 2021-04-16 13:46:01 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-04-16 13:46:01 +0000 |
| commit | 2faef12b656d40522ca3b4a53b36299b4364e717 (patch) | |
| tree | cd720d31399a713ad854b977cc401d72f5ccd02f /src/test/ui/pattern | |
| parent | 3833636446b670ee905fba5f8d18881b1739814e (diff) | |
| parent | c7c59d7c3b5ace6f47a48fb74c7114e1f60a4667 (diff) | |
| download | rust-2faef12b656d40522ca3b4a53b36299b4364e717.tar.gz rust-2faef12b656d40522ca3b4a53b36299b4364e717.zip | |
Auto merge of #84241 - Dylan-DPC:rollup-jk9nt6k, r=Dylan-DPC
Rollup of 4 pull requests Successful merges: - #83337 (rustdoc: Hide item contents, not items) - #83944 (Fix a couple resolve bugs from binder refactor) - #84145 (Address comments for vecdeque_binary_search #78021) - #84172 (Compiler error messages: reduce assertiveness of message E0384) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'src/test/ui/pattern')
| -rw-r--r-- | src/test/ui/pattern/move-ref-patterns/borrowck-move-ref-pattern.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/pattern/move-ref-patterns/borrowck-move-ref-pattern.stderr b/src/test/ui/pattern/move-ref-patterns/borrowck-move-ref-pattern.stderr index 285c203f382..d0726f05cc3 100644 --- a/src/test/ui/pattern/move-ref-patterns/borrowck-move-ref-pattern.stderr +++ b/src/test/ui/pattern/move-ref-patterns/borrowck-move-ref-pattern.stderr @@ -16,7 +16,7 @@ LL | let [ref _x0_hold, _x1, ref xs_hold @ ..] = arr; | --- | | | first assignment to `_x1` - | help: make this binding mutable: `mut _x1` + | help: consider making this binding mutable: `mut _x1` LL | _x1 = U; | ^^^^^^^ cannot assign twice to immutable variable @@ -74,7 +74,7 @@ LL | let (ref _x0, _x1, ref _x2, ..) = tup; | --- | | | first assignment to `_x1` - | help: make this binding mutable: `mut _x1` + | help: consider making this binding mutable: `mut _x1` LL | _x1 = U; | ^^^^^^^ cannot assign twice to immutable variable |
