diff --git a/test_crates/enum_variant_missing/old/src/lib.rs b/test_crates/enum_variant_missing/old/src/lib.rs index eb7c311a..39203aca 100644 --- a/test_crates/enum_variant_missing/old/src/lib.rs +++ b/test_crates/enum_variant_missing/old/src/lib.rs @@ -11,9 +11,13 @@ pub enum TupleVariantWillBeRemoved { } pub enum StructVariantWillBeRemoved { - Foo { bar: usize }, + Foo { + bar: usize, + }, /// Testing: - Bar { bar: usize }, + Bar { + bar: usize, + }, } /// This enum should not be reported by the `enum_variant_missing` rule: diff --git a/test_outputs/query_execution/enum_missing.snap b/test_outputs/query_execution/enum_missing.snap index 45482b9b..05a1df7a 100644 --- a/test_outputs/query_execution/enum_missing.snap +++ b/test_outputs/query_execution/enum_missing.snap @@ -56,7 +56,7 @@ expression: "&query_execution_results" String("enum_variant_missing"), String("ShouldNotMatch"), ]), - "span_begin_line": Uint64(22), + "span_begin_line": Uint64(26), "span_filename": String("src/lib.rs"), "visibility_limit": String("public"), }, diff --git a/test_outputs/query_execution/enum_variant_missing.snap b/test_outputs/query_execution/enum_variant_missing.snap index 84a5b040..50402829 100644 --- a/test_outputs/query_execution/enum_variant_missing.snap +++ b/test_outputs/query_execution/enum_variant_missing.snap @@ -49,7 +49,7 @@ expression: "&query_execution_results" String("enum_variant_missing"), String("StructVariantWillBeRemoved"), ]), - "span_begin_line": Uint64(16), + "span_begin_line": Uint64(18), "span_filename": String("src/lib.rs"), "variant_name": String("Bar"), "visibility_limit": String("public"),