Skip to content

Commit 50e410e

Browse files
committed
Update test expectations
1 parent e3c4ec7 commit 50e410e

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

tests/ui/mut_mut.stderr

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,16 @@ error: this expression mutably borrows a mutable reference. Consider reborrowing
2828
| ^^^^^^
2929

3030
error: generally you want to avoid `&mut &mut _` if possible
31-
--> $DIR/mut_mut.rs:30:17
31+
--> $DIR/mut_mut.rs:30:33
3232
|
3333
30 | let y : &mut &mut u32 = &mut &mut 2;
34-
| ^^^^^^^^^^^^^
34+
| ^^^^^^^^^^^
3535

3636
error: generally you want to avoid `&mut &mut _` if possible
37-
--> $DIR/mut_mut.rs:30:33
37+
--> $DIR/mut_mut.rs:30:17
3838
|
3939
30 | let y : &mut &mut u32 = &mut &mut 2;
40-
| ^^^^^^^^^^^
40+
| ^^^^^^^^^^^^^
4141

4242
error: generally you want to avoid `&mut &mut _` if possible
4343
--> $DIR/mut_mut.rs:30:17
@@ -46,22 +46,22 @@ error: generally you want to avoid `&mut &mut _` if possible
4646
| ^^^^^^^^^^^^^
4747

4848
error: generally you want to avoid `&mut &mut _` if possible
49-
--> $DIR/mut_mut.rs:35:17
49+
--> $DIR/mut_mut.rs:35:38
5050
|
5151
35 | let y : &mut &mut &mut u32 = &mut &mut &mut 2;
52-
| ^^^^^^^^^^^^^^^^^^
52+
| ^^^^^^^^^^^^^^^^
5353

5454
error: generally you want to avoid `&mut &mut _` if possible
55-
--> $DIR/mut_mut.rs:35:22
55+
--> $DIR/mut_mut.rs:35:17
5656
|
5757
35 | let y : &mut &mut &mut u32 = &mut &mut &mut 2;
58-
| ^^^^^^^^^^^^^
58+
| ^^^^^^^^^^^^^^^^^^
5959

6060
error: generally you want to avoid `&mut &mut _` if possible
61-
--> $DIR/mut_mut.rs:35:38
61+
--> $DIR/mut_mut.rs:35:22
6262
|
6363
35 | let y : &mut &mut &mut u32 = &mut &mut &mut 2;
64-
| ^^^^^^^^^^^^^^^^
64+
| ^^^^^^^^^^^^^
6565

6666
error: generally you want to avoid `&mut &mut _` if possible
6767
--> $DIR/mut_mut.rs:35:17

0 commit comments

Comments
 (0)