summaryrefslogtreecommitdiffstats
path: root/tests/ui/nll/issue-46589.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/nll/issue-46589.stderr')
-rw-r--r--tests/ui/nll/issue-46589.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/nll/issue-46589.stderr b/tests/ui/nll/issue-46589.stderr
index 60ef3f7b8..82cd364ee 100644
--- a/tests/ui/nll/issue-46589.stderr
+++ b/tests/ui/nll/issue-46589.stderr
@@ -2,10 +2,10 @@ error[E0499]: cannot borrow `**other` as mutable more than once at a time
--> $DIR/issue-46589.rs:23:21
|
LL | *other = match (*other).get_self() {
- | ------------------- first mutable borrow occurs here
+ | -------- first mutable borrow occurs here
LL | Some(s) => s,
LL | None => (*other).new_self()
- | ^^^^^^^^^^^^^^^^^^^
+ | ^^^^^^^^
| |
| second mutable borrow occurs here
| first borrow later used here