File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
compiler/rustc_mir_build/src
src/test/ui/pattern/bindings-after-at Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -586,7 +586,7 @@ pub struct MultipleMutBorrows {
586
586
pub span : Span ,
587
587
#[ label]
588
588
pub binding_span : Span ,
589
- #[ subdiagnostic]
589
+ #[ subdiagnostic( eager ) ]
590
590
pub occurences : Vec < MultipleMutBorrowOccurence > ,
591
591
pub name : Ident ,
592
592
}
Original file line number Diff line number Diff line change @@ -53,10 +53,10 @@ LL | let ref mut a @ (
53
53
| |
54
54
LL | |
55
55
LL | | ref mut b,
56
- | | --------- another mutable borrow, by `d `, occurs here
56
+ | | --------- another mutable borrow, by `b `, occurs here
57
57
LL | | [
58
58
LL | | ref mut c,
59
- | | --------- another mutable borrow, by `d `, occurs here
59
+ | | --------- another mutable borrow, by `c `, occurs here
60
60
LL | | ref mut d,
61
61
| | --------- another mutable borrow, by `d`, occurs here
62
62
LL | | ref e,
@@ -75,10 +75,10 @@ LL | let ref mut a @ (
75
75
| |
76
76
LL | |
77
77
LL | | ref mut b,
78
- | | --------- another mutable borrow, by `d `, occurs here
78
+ | | --------- another mutable borrow, by `b `, occurs here
79
79
LL | | [
80
80
LL | | ref mut c,
81
- | | --------- another mutable borrow, by `d `, occurs here
81
+ | | --------- another mutable borrow, by `c `, occurs here
82
82
LL | | ref mut d,
83
83
| | --------- another mutable borrow, by `d`, occurs here
84
84
LL | | ref e,
You can’t perform that action at this time.
0 commit comments