File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -50,3 +50,13 @@ if let Some(ref /*def*/ mut /*abc*/ state)= /*abc*/foo{
50
50
println ! (
51
51
"asdfasdfasdf" ) ; }
52
52
}
53
+
54
+ fn mut_ref_mut ( ) {
55
+ if let Some ( mut /*a*/ ref /*def*/ mut /*abc*/ state) = /*abc*/ foo{
56
+ println ! (
57
+ "asdfasdfasdf" ) ; }
58
+
59
+ if let Some ( mut /*a*/ ref /*def*/ /*mut*/ state) = /*abc*/ foo{
60
+ println ! (
61
+ "asdfasdfasdf" ) ; }
62
+ }
Original file line number Diff line number Diff line change @@ -45,3 +45,13 @@ fn block_comment_between_lhs_and_rhs() {
45
45
println ! ( "asdfasdfasdf" ) ;
46
46
}
47
47
}
48
+
49
+ fn mut_ref_mut ( ) {
50
+ if let Some ( mut /*a*/ ref /*def*/ mut /*abc*/ state) = /*abc*/ foo {
51
+ println ! ( "asdfasdfasdf" ) ;
52
+ }
53
+
54
+ if let Some ( mut /*a*/ ref /*def*/ /*mut*/ state) = /*abc*/ foo {
55
+ println ! ( "asdfasdfasdf" ) ;
56
+ }
57
+ }
You can’t perform that action at this time.
0 commit comments