File tree Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -370,3 +370,17 @@ fn newlines_between_list_like_expr() {
370
370
fn issue2178 ( ) {
371
371
Ok ( result. iter ( ) . map ( |item| ls_util:: rls_to_location ( item) ) . collect ( ) )
372
372
}
373
+
374
+ // #2493
375
+ impl Foo {
376
+ fn bar ( & self ) {
377
+ {
378
+ let x = match ( ) {
379
+ ( ) => {
380
+ let i;
381
+ i == self . install_config . storage . experimental_compressed_block_size as usize
382
+ }
383
+ } ;
384
+ }
385
+ }
386
+ }
Original file line number Diff line number Diff line change @@ -395,3 +395,19 @@ fn issue2178() {
395
395
. map ( |item| ls_util:: rls_to_location ( item) )
396
396
. collect ( ) )
397
397
}
398
+
399
+ // #2493
400
+ impl Foo {
401
+ fn bar ( & self ) {
402
+ {
403
+ let x = match ( ) {
404
+ ( ) => {
405
+ let i;
406
+ i == self . install_config
407
+ . storage
408
+ . experimental_compressed_block_size as usize
409
+ }
410
+ } ;
411
+ }
412
+ }
413
+ }
You can’t perform that action at this time.
0 commit comments