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 {
586586 pub span : Span ,
587587 #[ label]
588588 pub binding_span : Span ,
589- #[ subdiagnostic]
589+ #[ subdiagnostic( eager ) ]
590590 pub occurences : Vec < MultipleMutBorrowOccurence > ,
591591 pub name : Ident ,
592592}
Original file line number Diff line number Diff line change @@ -53,10 +53,10 @@ LL | let ref mut a @ (
5353 | |
5454LL | |
5555LL | | ref mut b,
56- | | --------- another mutable borrow, by `d `, occurs here
56+ | | --------- another mutable borrow, by `b `, occurs here
5757LL | | [
5858LL | | ref mut c,
59- | | --------- another mutable borrow, by `d `, occurs here
59+ | | --------- another mutable borrow, by `c `, occurs here
6060LL | | ref mut d,
6161 | | --------- another mutable borrow, by `d`, occurs here
6262LL | | ref e,
@@ -75,10 +75,10 @@ LL | let ref mut a @ (
7575 | |
7676LL | |
7777LL | | ref mut b,
78- | | --------- another mutable borrow, by `d `, occurs here
78+ | | --------- another mutable borrow, by `b `, occurs here
7979LL | | [
8080LL | | ref mut c,
81- | | --------- another mutable borrow, by `d `, occurs here
81+ | | --------- another mutable borrow, by `c `, occurs here
8282LL | | ref mut d,
8383 | | --------- another mutable borrow, by `d`, occurs here
8484LL | | ref e,
You can’t perform that action at this time.
0 commit comments