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{
5050 println ! (
5151 "asdfasdfasdf" ) ; }
5252}
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() {
4545 println ! ( "asdfasdfasdf" ) ;
4646 }
4747}
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