|
56 | 56 | 'kind': 'WARNING', |
57 | 57 | 'text': 'unused variable: `a`\n`#[warn(unused_variables)]` ' |
58 | 58 | 'on by default [unused_variables]', |
59 | | - 'location': LocationMatcher( MAIN_FILEPATH, 20, 9 ), |
60 | | - 'location_extent': RangeMatcher( MAIN_FILEPATH, ( 20, 9 ), ( 20, 10 ) ), |
| 59 | + 'location': LocationMatcher( MAIN_FILEPATH, 21, 9 ), |
| 60 | + 'location_extent': RangeMatcher( MAIN_FILEPATH, ( 21, 9 ), ( 21, 10 ) ), |
61 | 61 | 'ranges': contains_exactly( RangeMatcher( MAIN_FILEPATH, |
62 | | - ( 20, 9 ), |
63 | | - ( 20, 10 ) ) ), |
| 62 | + ( 21, 9 ), |
| 63 | + ( 21, 10 ) ) ), |
64 | 64 | 'fixit_available': False |
65 | 65 | } ), |
66 | 66 | has_entries( { |
67 | 67 | 'kind': 'HINT', |
68 | 68 | 'text': 'if this is intentional, ' |
69 | 69 | 'prefix it with an underscore: `_a` [unused_variables]', |
70 | | - 'location': LocationMatcher( MAIN_FILEPATH, 20, 9 ), |
71 | | - 'location_extent': RangeMatcher( MAIN_FILEPATH, ( 20, 9 ), ( 20, 10 ) ), |
| 70 | + 'location': LocationMatcher( MAIN_FILEPATH, 21, 9 ), |
| 71 | + 'location_extent': RangeMatcher( MAIN_FILEPATH, ( 21, 9 ), ( 21, 10 ) ), |
72 | 72 | 'ranges': contains_exactly( RangeMatcher( MAIN_FILEPATH, |
73 | | - ( 20, 9 ), |
74 | | - ( 20, 10 ) ) ), |
| 73 | + ( 21, 9 ), |
| 74 | + ( 21, 10 ) ) ), |
75 | 75 | 'fixit_available': False |
76 | 76 | } ), |
77 | 77 | ), |
|
0 commit comments