diff --git a/src/snapshots/venial__tests__add_bounded_lifetime.snap b/src/snapshots/venial__tests__add_bounded_lifetime.snap.new similarity index 82% rename from src/snapshots/venial__tests__add_bounded_lifetime.snap rename to src/snapshots/venial__tests__add_bounded_lifetime.snap.new index 450085c..fdaa8fa 100644 --- a/src/snapshots/venial__tests__add_bounded_lifetime.snap +++ b/src/snapshots/venial__tests__add_bounded_lifetime.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 846 +assertion_line: 1004 expression: tokens --- struct Hello < ' b : c + d > { a : A , b : B , } diff --git a/src/snapshots/venial__tests__add_bounded_ty_param.snap b/src/snapshots/venial__tests__add_bounded_ty_param.snap.new similarity index 81% rename from src/snapshots/venial__tests__add_bounded_ty_param.snap rename to src/snapshots/venial__tests__add_bounded_ty_param.snap.new index f5965c1..0e5463e 100644 --- a/src/snapshots/venial__tests__add_bounded_ty_param.snap +++ b/src/snapshots/venial__tests__add_bounded_ty_param.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 885 +assertion_line: 1043 expression: tokens --- struct Hello < T : Clone > { a : A , b : B , } diff --git a/src/snapshots/venial__tests__add_const_param-2.snap b/src/snapshots/venial__tests__add_const_param-2.snap.new similarity index 83% rename from src/snapshots/venial__tests__add_const_param-2.snap rename to src/snapshots/venial__tests__add_const_param-2.snap.new index 5b7e70e..ae7d889 100644 --- a/src/snapshots/venial__tests__add_const_param-2.snap +++ b/src/snapshots/venial__tests__add_const_param-2.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 913 +assertion_line: 1071 expression: tokens --- struct Hello < A , B , const N : u32 > { a : A , b : B , } diff --git a/src/snapshots/venial__tests__add_const_param.snap b/src/snapshots/venial__tests__add_const_param.snap.new similarity index 82% rename from src/snapshots/venial__tests__add_const_param.snap rename to src/snapshots/venial__tests__add_const_param.snap.new index b270e10..f04c039 100644 --- a/src/snapshots/venial__tests__add_const_param.snap +++ b/src/snapshots/venial__tests__add_const_param.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 912 +assertion_line: 1070 expression: tokens --- struct Hello < const N : u32 > { a : A , b : B , } diff --git a/src/snapshots/venial__tests__add_lifetime-2.snap b/src/snapshots/venial__tests__add_lifetime-2.snap.new similarity index 82% rename from src/snapshots/venial__tests__add_lifetime-2.snap rename to src/snapshots/venial__tests__add_lifetime-2.snap.new index bb0698e..0563f5c 100644 --- a/src/snapshots/venial__tests__add_lifetime-2.snap +++ b/src/snapshots/venial__tests__add_lifetime-2.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 828 +assertion_line: 986 expression: tokens --- struct Hello < 'b , A , B > { a : A , b : B , } diff --git a/src/snapshots/venial__tests__add_lifetime-3.snap b/src/snapshots/venial__tests__add_lifetime-3.snap.new similarity index 84% rename from src/snapshots/venial__tests__add_lifetime-3.snap rename to src/snapshots/venial__tests__add_lifetime-3.snap.new index 21113b5..32bae7d 100644 --- a/src/snapshots/venial__tests__add_lifetime-3.snap +++ b/src/snapshots/venial__tests__add_lifetime-3.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 829 +assertion_line: 987 expression: tokens --- struct Hello < 'b , 'a , A , B > { a : & 'a A , b : B , } diff --git a/src/snapshots/venial__tests__add_lifetime.snap b/src/snapshots/venial__tests__add_lifetime.snap.new similarity index 81% rename from src/snapshots/venial__tests__add_lifetime.snap rename to src/snapshots/venial__tests__add_lifetime.snap.new index ab3e4f0..24f2a34 100644 --- a/src/snapshots/venial__tests__add_lifetime.snap +++ b/src/snapshots/venial__tests__add_lifetime.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 827 +assertion_line: 985 expression: tokens --- struct Hello < 'b > { a : A , b : B , } diff --git a/src/snapshots/venial__tests__add_ty_param-2.snap b/src/snapshots/venial__tests__add_ty_param-2.snap.new similarity index 81% rename from src/snapshots/venial__tests__add_ty_param-2.snap rename to src/snapshots/venial__tests__add_ty_param-2.snap.new index 6760c33..4edc104 100644 --- a/src/snapshots/venial__tests__add_ty_param-2.snap +++ b/src/snapshots/venial__tests__add_ty_param-2.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 868 +assertion_line: 1026 expression: tokens --- struct Hello < A , B , T > { a : A , b : B , } diff --git a/src/snapshots/venial__tests__add_ty_param.snap b/src/snapshots/venial__tests__add_ty_param.snap.new similarity index 80% rename from src/snapshots/venial__tests__add_ty_param.snap rename to src/snapshots/venial__tests__add_ty_param.snap.new index bf1ac90..c24a475 100644 --- a/src/snapshots/venial__tests__add_ty_param.snap +++ b/src/snapshots/venial__tests__add_ty_param.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 867 +assertion_line: 1025 expression: tokens --- struct Hello < T > { a : A , b : B , } diff --git a/src/snapshots/venial__tests__add_where_item-2.snap b/src/snapshots/venial__tests__add_where_item-2.snap.new similarity index 86% rename from src/snapshots/venial__tests__add_where_item-2.snap rename to src/snapshots/venial__tests__add_where_item-2.snap.new index ca3b2e7..4849a00 100644 --- a/src/snapshots/venial__tests__add_where_item-2.snap +++ b/src/snapshots/venial__tests__add_where_item-2.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 940 +assertion_line: 1098 expression: tokens --- struct Hello < A , B > where A : Clone , B : Clone , Self : Sized { a : A , b : B , } diff --git a/src/snapshots/venial__tests__add_where_item.snap b/src/snapshots/venial__tests__add_where_item.snap.new similarity index 82% rename from src/snapshots/venial__tests__add_where_item.snap rename to src/snapshots/venial__tests__add_where_item.snap.new index dcc8d4e..ef69eb4 100644 --- a/src/snapshots/venial__tests__add_where_item.snap +++ b/src/snapshots/venial__tests__add_where_item.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 939 +assertion_line: 1097 expression: tokens --- struct Hello where Self : Sized { a : A , b : B , } diff --git a/src/snapshots/venial__tests__interpret_ty_expr_generic_as_path-2.snap b/src/snapshots/venial__tests__interpret_ty_expr_generic_as_path-2.snap deleted file mode 100644 index 77ef11e..0000000 --- a/src/snapshots/venial__tests__interpret_ty_expr_generic_as_path-2.snap +++ /dev/null @@ -1,40 +0,0 @@ ---- -source: src/tests.rs -expression: generic_args ---- -Some( - [ - Punct { - char: '\'', - spacing: Joint, - }, - Ident { - sym: a, - }, - Punct { - char: ',', - spacing: Alone, - }, - Ident { - sym: other, - }, - Punct { - char: ':', - spacing: Joint, - }, - Punct { - char: ':', - spacing: Alone, - }, - Ident { - sym: Arg, - }, - Punct { - char: ',', - spacing: Alone, - }, - Literal { - lit: 36, - }, - ], -) diff --git a/src/snapshots/venial__tests__interpret_ty_expr_generic_as_path.snap b/src/snapshots/venial__tests__interpret_ty_expr_generic_as_path.snap.new similarity index 98% rename from src/snapshots/venial__tests__interpret_ty_expr_generic_as_path.snap rename to src/snapshots/venial__tests__interpret_ty_expr_generic_as_path.snap.new index 162bc00..91b560b 100644 --- a/src/snapshots/venial__tests__interpret_ty_expr_generic_as_path.snap +++ b/src/snapshots/venial__tests__interpret_ty_expr_generic_as_path.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 1280 expression: path --- Path { diff --git a/src/snapshots/venial__tests__interpret_ty_expr_simple_as_path-2.snap b/src/snapshots/venial__tests__interpret_ty_expr_simple_as_path-2.snap deleted file mode 100644 index d29c7bb..0000000 --- a/src/snapshots/venial__tests__interpret_ty_expr_simple_as_path-2.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: src/tests.rs -expression: generic_args ---- -None diff --git a/src/snapshots/venial__tests__interpret_ty_expr_simple_as_path.snap b/src/snapshots/venial__tests__interpret_ty_expr_simple_as_path.snap.new similarity index 95% rename from src/snapshots/venial__tests__interpret_ty_expr_simple_as_path.snap rename to src/snapshots/venial__tests__interpret_ty_expr_simple_as_path.snap.new index ac59cd3..42b5b72 100644 --- a/src/snapshots/venial__tests__interpret_ty_expr_simple_as_path.snap +++ b/src/snapshots/venial__tests__interpret_ty_expr_simple_as_path.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 1267 expression: path --- Path { diff --git a/src/snapshots/venial__tests__parse_all_kw_fn.snap b/src/snapshots/venial__tests__parse_all_kw_fn.snap.new similarity index 98% rename from src/snapshots/venial__tests__parse_all_kw_fn.snap rename to src/snapshots/venial__tests__parse_all_kw_fn.snap.new index 4fa3cdf..fccb641 100644 --- a/src/snapshots/venial__tests__parse_all_kw_fn.snap +++ b/src/snapshots/venial__tests__parse_all_kw_fn.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 822 expression: func --- Function( diff --git a/src/snapshots/venial__tests__parse_async_fn.snap b/src/snapshots/venial__tests__parse_async_fn.snap.new similarity index 98% rename from src/snapshots/venial__tests__parse_async_fn.snap rename to src/snapshots/venial__tests__parse_async_fn.snap.new index 0704663..1257c8d 100644 --- a/src/snapshots/venial__tests__parse_async_fn.snap +++ b/src/snapshots/venial__tests__parse_async_fn.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 781 expression: func --- Function( diff --git a/src/snapshots/venial__tests__parse_attr_fn.snap b/src/snapshots/venial__tests__parse_attr_fn.snap.new similarity index 98% rename from src/snapshots/venial__tests__parse_attr_fn.snap rename to src/snapshots/venial__tests__parse_attr_fn.snap.new index 935a491..3f919c8 100644 --- a/src/snapshots/venial__tests__parse_attr_fn.snap +++ b/src/snapshots/venial__tests__parse_attr_fn.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 741 expression: func --- Function( diff --git a/src/snapshots/venial__tests__parse_bounded_type_param_no_comma.snap b/src/snapshots/venial__tests__parse_bounded_type_param_no_comma.snap.new similarity index 98% rename from src/snapshots/venial__tests__parse_bounded_type_param_no_comma.snap rename to src/snapshots/venial__tests__parse_bounded_type_param_no_comma.snap.new index e285f56..d2a478f 100644 --- a/src/snapshots/venial__tests__parse_bounded_type_param_no_comma.snap +++ b/src/snapshots/venial__tests__parse_bounded_type_param_no_comma.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 581 +assertion_line: 658 expression: struct_type --- Struct( diff --git a/src/snapshots/venial__tests__parse_complex_attributes-2.snap b/src/snapshots/venial__tests__parse_complex_attributes-2.snap.new similarity index 83% rename from src/snapshots/venial__tests__parse_complex_attributes-2.snap rename to src/snapshots/venial__tests__parse_complex_attributes-2.snap.new index 60a67eb..f14d3da 100644 --- a/src/snapshots/venial__tests__parse_complex_attributes-2.snap +++ b/src/snapshots/venial__tests__parse_complex_attributes-2.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 337 +assertion_line: 351 expression: "struct_type.attributes()[0].get_single_path_segment()" --- None diff --git a/src/snapshots/venial__tests__parse_complex_attributes-3.snap b/src/snapshots/venial__tests__parse_complex_attributes-3.snap.new similarity index 87% rename from src/snapshots/venial__tests__parse_complex_attributes-3.snap rename to src/snapshots/venial__tests__parse_complex_attributes-3.snap.new index c2dcb2b..7c6614a 100644 --- a/src/snapshots/venial__tests__parse_complex_attributes-3.snap +++ b/src/snapshots/venial__tests__parse_complex_attributes-3.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 338 +assertion_line: 352 expression: "struct_type.attributes()[1].get_single_path_segment()" --- Some( diff --git a/src/snapshots/venial__tests__parse_complex_attributes.snap b/src/snapshots/venial__tests__parse_complex_attributes.snap.new similarity index 99% rename from src/snapshots/venial__tests__parse_complex_attributes.snap rename to src/snapshots/venial__tests__parse_complex_attributes.snap.new index a08016e..d360241 100644 --- a/src/snapshots/venial__tests__parse_complex_attributes.snap +++ b/src/snapshots/venial__tests__parse_complex_attributes.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 349 expression: struct_type --- Struct( diff --git a/src/snapshots/venial__tests__parse_complex_enum_variant-2.snap b/src/snapshots/venial__tests__parse_complex_enum_variant-2.snap.new similarity index 89% rename from src/snapshots/venial__tests__parse_complex_enum_variant-2.snap rename to src/snapshots/venial__tests__parse_complex_enum_variant-2.snap.new index 63ce349..da9c095 100644 --- a/src/snapshots/venial__tests__parse_complex_enum_variant-2.snap +++ b/src/snapshots/venial__tests__parse_complex_enum_variant-2.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 534 +assertion_line: 594 expression: enum_type_2 --- Err( diff --git a/src/snapshots/venial__tests__parse_complex_enum_variant-3.snap b/src/snapshots/venial__tests__parse_complex_enum_variant-3.snap.new similarity index 99% rename from src/snapshots/venial__tests__parse_complex_enum_variant-3.snap rename to src/snapshots/venial__tests__parse_complex_enum_variant-3.snap.new index 38c4041..cee22d6 100644 --- a/src/snapshots/venial__tests__parse_complex_enum_variant-3.snap +++ b/src/snapshots/venial__tests__parse_complex_enum_variant-3.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 535 +assertion_line: 595 expression: enum_type_3 --- Ok( diff --git a/src/snapshots/venial__tests__parse_complex_enum_variant.snap b/src/snapshots/venial__tests__parse_complex_enum_variant.snap.new similarity index 89% rename from src/snapshots/venial__tests__parse_complex_enum_variant.snap rename to src/snapshots/venial__tests__parse_complex_enum_variant.snap.new index a60ab6b..476d5bc 100644 --- a/src/snapshots/venial__tests__parse_complex_enum_variant.snap +++ b/src/snapshots/venial__tests__parse_complex_enum_variant.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 533 +assertion_line: 593 expression: enum_type_1 --- Err( diff --git a/src/snapshots/venial__tests__parse_const_fn.snap b/src/snapshots/venial__tests__parse_const_fn.snap.new similarity index 98% rename from src/snapshots/venial__tests__parse_const_fn.snap rename to src/snapshots/venial__tests__parse_const_fn.snap.new index bd5c717..9bedd9c 100644 --- a/src/snapshots/venial__tests__parse_const_fn.snap +++ b/src/snapshots/venial__tests__parse_const_fn.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 771 expression: func --- Function( diff --git a/src/snapshots/venial__tests__parse_const_generics.snap b/src/snapshots/venial__tests__parse_const_generics.snap.new similarity index 99% rename from src/snapshots/venial__tests__parse_const_generics.snap rename to src/snapshots/venial__tests__parse_const_generics.snap.new index 05076b7..bba64c6 100644 --- a/src/snapshots/venial__tests__parse_const_generics.snap +++ b/src/snapshots/venial__tests__parse_const_generics.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 527 +assertion_line: 621 expression: struct_type --- Struct( diff --git a/src/snapshots/venial__tests__parse_constant_complex.snap b/src/snapshots/venial__tests__parse_constant_complex.snap.new similarity index 98% rename from src/snapshots/venial__tests__parse_constant_complex.snap rename to src/snapshots/venial__tests__parse_constant_complex.snap.new index bb27bab..0b60445 100644 --- a/src/snapshots/venial__tests__parse_constant_complex.snap +++ b/src/snapshots/venial__tests__parse_constant_complex.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 1241 expression: const_decl --- Constant( diff --git a/src/snapshots/venial__tests__parse_constant_expressionless.snap b/src/snapshots/venial__tests__parse_constant_expressionless.snap.new similarity index 96% rename from src/snapshots/venial__tests__parse_constant_expressionless.snap rename to src/snapshots/venial__tests__parse_constant_expressionless.snap.new index 67dfbdb..81eb3e4 100644 --- a/src/snapshots/venial__tests__parse_constant_expressionless.snap +++ b/src/snapshots/venial__tests__parse_constant_expressionless.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 1252 expression: const_decl --- Constant( diff --git a/src/snapshots/venial__tests__parse_constant_simple.snap b/src/snapshots/venial__tests__parse_constant_simple.snap.new similarity index 97% rename from src/snapshots/venial__tests__parse_constant_simple.snap rename to src/snapshots/venial__tests__parse_constant_simple.snap.new index 886207f..d82f0c7 100644 --- a/src/snapshots/venial__tests__parse_constant_simple.snap +++ b/src/snapshots/venial__tests__parse_constant_simple.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 1230 expression: const_decl --- Constant( diff --git a/src/snapshots/venial__tests__parse_default_fn.snap b/src/snapshots/venial__tests__parse_default_fn.snap.new similarity index 98% rename from src/snapshots/venial__tests__parse_default_fn.snap rename to src/snapshots/venial__tests__parse_default_fn.snap.new index fb3915d..2d8940c 100644 --- a/src/snapshots/venial__tests__parse_default_fn.snap +++ b/src/snapshots/venial__tests__parse_default_fn.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 761 expression: func --- Function( diff --git a/src/snapshots/venial__tests__parse_empty_enum.snap b/src/snapshots/venial__tests__parse_empty_enum.snap.new similarity index 93% rename from src/snapshots/venial__tests__parse_empty_enum.snap rename to src/snapshots/venial__tests__parse_empty_enum.snap.new index c16bd18..d4876a0 100644 --- a/src/snapshots/venial__tests__parse_empty_enum.snap +++ b/src/snapshots/venial__tests__parse_empty_enum.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 119 +assertion_line: 122 expression: enum_type --- Enum( diff --git a/src/snapshots/venial__tests__parse_empty_fn.snap b/src/snapshots/venial__tests__parse_empty_fn.snap.new similarity index 97% rename from src/snapshots/venial__tests__parse_empty_fn.snap rename to src/snapshots/venial__tests__parse_empty_fn.snap.new index bb8e8f0..5dd1a5f 100644 --- a/src/snapshots/venial__tests__parse_empty_fn.snap +++ b/src/snapshots/venial__tests__parse_empty_fn.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 697 expression: func --- Function( diff --git a/src/snapshots/venial__tests__parse_empty_struct.snap b/src/snapshots/venial__tests__parse_empty_struct.snap.new similarity index 94% rename from src/snapshots/venial__tests__parse_empty_struct.snap rename to src/snapshots/venial__tests__parse_empty_struct.snap.new index 3ed1aae..5fcab05 100644 --- a/src/snapshots/venial__tests__parse_empty_struct.snap +++ b/src/snapshots/venial__tests__parse_empty_struct.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 110 +assertion_line: 113 expression: struct_type --- Struct( diff --git a/src/snapshots/venial__tests__parse_empty_tuple.snap b/src/snapshots/venial__tests__parse_empty_tuple.snap.new similarity index 96% rename from src/snapshots/venial__tests__parse_empty_tuple.snap rename to src/snapshots/venial__tests__parse_empty_tuple.snap.new index fe97c26..363fee9 100644 --- a/src/snapshots/venial__tests__parse_empty_tuple.snap +++ b/src/snapshots/venial__tests__parse_empty_tuple.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 101 +assertion_line: 104 expression: struct_type --- Struct( diff --git a/src/snapshots/venial__tests__parse_enum.snap b/src/snapshots/venial__tests__parse_enum.snap.new similarity index 99% rename from src/snapshots/venial__tests__parse_enum.snap rename to src/snapshots/venial__tests__parse_enum.snap.new index 1b74bc8..10b6bd5 100644 --- a/src/snapshots/venial__tests__parse_enum.snap +++ b/src/snapshots/venial__tests__parse_enum.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 70 +assertion_line: 83 expression: enum_type --- Enum( diff --git a/src/snapshots/venial__tests__parse_enum_attributes.snap b/src/snapshots/venial__tests__parse_enum_attributes.snap.new similarity index 99% rename from src/snapshots/venial__tests__parse_enum_attributes.snap rename to src/snapshots/venial__tests__parse_enum_attributes.snap.new index 7d3c180..b09960f 100644 --- a/src/snapshots/venial__tests__parse_enum_attributes.snap +++ b/src/snapshots/venial__tests__parse_enum_attributes.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 300 expression: enum_type --- Enum( diff --git a/src/snapshots/venial__tests__parse_enum_empty_generic_params.snap b/src/snapshots/venial__tests__parse_enum_empty_generic_params.snap.new similarity index 99% rename from src/snapshots/venial__tests__parse_enum_empty_generic_params.snap rename to src/snapshots/venial__tests__parse_enum_empty_generic_params.snap.new index b5898ea..6e7a05d 100644 --- a/src/snapshots/venial__tests__parse_enum_empty_generic_params.snap +++ b/src/snapshots/venial__tests__parse_enum_empty_generic_params.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 504 +assertion_line: 528 expression: enum_type --- Enum( diff --git a/src/snapshots/venial__tests__parse_enum_empty_where_clause.snap b/src/snapshots/venial__tests__parse_enum_empty_where_clause.snap.new similarity index 99% rename from src/snapshots/venial__tests__parse_enum_empty_where_clause.snap rename to src/snapshots/venial__tests__parse_enum_empty_where_clause.snap.new index 8cda1d5..b4b8ae1 100644 --- a/src/snapshots/venial__tests__parse_enum_empty_where_clause.snap +++ b/src/snapshots/venial__tests__parse_enum_empty_where_clause.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 440 +assertion_line: 464 expression: enum_type --- Enum( diff --git a/src/snapshots/venial__tests__parse_enum_generic_params.snap b/src/snapshots/venial__tests__parse_enum_generic_params.snap.new similarity index 99% rename from src/snapshots/venial__tests__parse_enum_generic_params.snap rename to src/snapshots/venial__tests__parse_enum_generic_params.snap.new index 9e4f407..cddbe37 100644 --- a/src/snapshots/venial__tests__parse_enum_generic_params.snap +++ b/src/snapshots/venial__tests__parse_enum_generic_params.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 487 +assertion_line: 511 expression: enum_type --- Enum( diff --git a/src/snapshots/venial__tests__parse_enum_vis-2.snap b/src/snapshots/venial__tests__parse_enum_vis-2.snap.new similarity index 99% rename from src/snapshots/venial__tests__parse_enum_vis-2.snap rename to src/snapshots/venial__tests__parse_enum_vis-2.snap.new index 1cae68e..9172833 100644 --- a/src/snapshots/venial__tests__parse_enum_vis-2.snap +++ b/src/snapshots/venial__tests__parse_enum_vis-2.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 201 +assertion_line: 225 expression: enum_type_pub_crate --- Enum( diff --git a/src/snapshots/venial__tests__parse_enum_vis-3.snap b/src/snapshots/venial__tests__parse_enum_vis-3.snap.new similarity index 99% rename from src/snapshots/venial__tests__parse_enum_vis-3.snap rename to src/snapshots/venial__tests__parse_enum_vis-3.snap.new index b07c9af..38fb1ca 100644 --- a/src/snapshots/venial__tests__parse_enum_vis-3.snap +++ b/src/snapshots/venial__tests__parse_enum_vis-3.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 202 +assertion_line: 226 expression: enum_type_crate --- Enum( diff --git a/src/snapshots/venial__tests__parse_enum_vis.snap b/src/snapshots/venial__tests__parse_enum_vis.snap.new similarity index 99% rename from src/snapshots/venial__tests__parse_enum_vis.snap rename to src/snapshots/venial__tests__parse_enum_vis.snap.new index fff462d..61b34a3 100644 --- a/src/snapshots/venial__tests__parse_enum_vis.snap +++ b/src/snapshots/venial__tests__parse_enum_vis.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 200 +assertion_line: 224 expression: enum_type_pub --- Enum( diff --git a/src/snapshots/venial__tests__parse_enum_where_clause.snap b/src/snapshots/venial__tests__parse_enum_where_clause.snap.new similarity index 99% rename from src/snapshots/venial__tests__parse_enum_where_clause.snap rename to src/snapshots/venial__tests__parse_enum_where_clause.snap.new index 9377d07..0ee6c62 100644 --- a/src/snapshots/venial__tests__parse_enum_where_clause.snap +++ b/src/snapshots/venial__tests__parse_enum_where_clause.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 389 +assertion_line: 413 expression: enum_type --- Enum( diff --git a/src/snapshots/venial__tests__parse_extern_abi_fn.snap b/src/snapshots/venial__tests__parse_extern_abi_fn.snap.new similarity index 98% rename from src/snapshots/venial__tests__parse_extern_abi_fn.snap rename to src/snapshots/venial__tests__parse_extern_abi_fn.snap.new index 52a6472..fa5fd2d 100644 --- a/src/snapshots/venial__tests__parse_extern_abi_fn.snap +++ b/src/snapshots/venial__tests__parse_extern_abi_fn.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 801 expression: func --- Function( diff --git a/src/snapshots/venial__tests__parse_extern_block-2.snap b/src/snapshots/venial__tests__parse_extern_block-2.snap deleted file mode 100644 index 6d8ced7..0000000 --- a/src/snapshots/venial__tests__parse_extern_block-2.snap +++ /dev/null @@ -1,22 +0,0 @@ ---- -source: src/tests.rs -expression: unsafe_extern ---- -ExternBlock( - ExternBlock { - attributes: [], - vis_marker: None, - tk_unsafe: Some( - Ident( - unsafe, - ), - ), - tk_extern: Ident( - extern, - ), - extern_abi: None, - tk_braces: {}, - inner_attributes: [], - body_items: [], - }, -) diff --git a/src/snapshots/venial__tests__parse_unsafe_extern_block.snap b/src/snapshots/venial__tests__parse_extern_block-2.snap.new similarity index 95% rename from src/snapshots/venial__tests__parse_unsafe_extern_block.snap rename to src/snapshots/venial__tests__parse_extern_block-2.snap.new index 6d8ced7..dd8fb64 100644 --- a/src/snapshots/venial__tests__parse_unsafe_extern_block.snap +++ b/src/snapshots/venial__tests__parse_extern_block-2.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 1426 expression: unsafe_extern --- ExternBlock( diff --git a/src/snapshots/venial__tests__parse_extern_block.snap b/src/snapshots/venial__tests__parse_extern_block.snap.new similarity index 99% rename from src/snapshots/venial__tests__parse_extern_block.snap rename to src/snapshots/venial__tests__parse_extern_block.snap.new index 74ebce8..a570e69 100644 --- a/src/snapshots/venial__tests__parse_extern_block.snap +++ b/src/snapshots/venial__tests__parse_extern_block.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 1423 expression: filled_extern --- ExternBlock( diff --git a/src/snapshots/venial__tests__parse_extern_crate-2.snap b/src/snapshots/venial__tests__parse_extern_crate-2.snap.new similarity index 96% rename from src/snapshots/venial__tests__parse_extern_crate-2.snap rename to src/snapshots/venial__tests__parse_extern_crate-2.snap.new index bdd10db..175412a 100644 --- a/src/snapshots/venial__tests__parse_extern_crate-2.snap +++ b/src/snapshots/venial__tests__parse_extern_crate-2.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 1445 expression: as_crate --- ExternCrate( diff --git a/src/snapshots/venial__tests__parse_extern_crate-3.snap b/src/snapshots/venial__tests__parse_extern_crate-3.snap.new similarity index 96% rename from src/snapshots/venial__tests__parse_extern_crate-3.snap rename to src/snapshots/venial__tests__parse_extern_crate-3.snap.new index 6f4a7e6..dcc2640 100644 --- a/src/snapshots/venial__tests__parse_extern_crate-3.snap +++ b/src/snapshots/venial__tests__parse_extern_crate-3.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 1448 expression: as_underscore_crate --- ExternCrate( diff --git a/src/snapshots/venial__tests__parse_extern_crate.snap b/src/snapshots/venial__tests__parse_extern_crate.snap.new similarity index 95% rename from src/snapshots/venial__tests__parse_extern_crate.snap rename to src/snapshots/venial__tests__parse_extern_crate.snap.new index 194543d..d72a45d 100644 --- a/src/snapshots/venial__tests__parse_extern_crate.snap +++ b/src/snapshots/venial__tests__parse_extern_crate.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 1442 expression: simple_crate --- ExternCrate( diff --git a/src/snapshots/venial__tests__parse_extern_fn.snap b/src/snapshots/venial__tests__parse_extern_fn.snap.new similarity index 98% rename from src/snapshots/venial__tests__parse_extern_fn.snap rename to src/snapshots/venial__tests__parse_extern_fn.snap.new index 8fd4ec6..ec842c0 100644 --- a/src/snapshots/venial__tests__parse_extern_fn.snap +++ b/src/snapshots/venial__tests__parse_extern_fn.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 812 expression: func --- Function( diff --git a/src/snapshots/venial__tests__parse_fn.snap b/src/snapshots/venial__tests__parse_fn.snap.new similarity index 99% rename from src/snapshots/venial__tests__parse_fn.snap rename to src/snapshots/venial__tests__parse_fn.snap.new index 288ded2..fd35676 100644 --- a/src/snapshots/venial__tests__parse_fn.snap +++ b/src/snapshots/venial__tests__parse_fn.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 687 expression: func --- Function( diff --git a/src/snapshots/venial__tests__parse_fn_body.snap b/src/snapshots/venial__tests__parse_fn_body.snap.new similarity index 99% rename from src/snapshots/venial__tests__parse_fn_body.snap rename to src/snapshots/venial__tests__parse_fn_body.snap.new index a3c331a..9d339de 100644 --- a/src/snapshots/venial__tests__parse_fn_body.snap +++ b/src/snapshots/venial__tests__parse_fn_body.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 844 expression: func --- Function( diff --git a/src/snapshots/venial__tests__parse_fn_lifetimes.snap b/src/snapshots/venial__tests__parse_fn_lifetimes.snap.new similarity index 98% rename from src/snapshots/venial__tests__parse_fn_lifetimes.snap rename to src/snapshots/venial__tests__parse_fn_lifetimes.snap.new index d3c38f9..def0fce 100644 --- a/src/snapshots/venial__tests__parse_fn_lifetimes.snap +++ b/src/snapshots/venial__tests__parse_fn_lifetimes.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 874 expression: func --- Function( diff --git a/src/snapshots/venial__tests__parse_fn_mut_param.snap b/src/snapshots/venial__tests__parse_fn_mut_param.snap.new similarity index 99% rename from src/snapshots/venial__tests__parse_fn_mut_param.snap rename to src/snapshots/venial__tests__parse_fn_mut_param.snap.new index a4cb636..1acf473 100644 --- a/src/snapshots/venial__tests__parse_fn_mut_param.snap +++ b/src/snapshots/venial__tests__parse_fn_mut_param.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 864 expression: func --- Function( diff --git a/src/snapshots/venial__tests__parse_fn_prototype.snap b/src/snapshots/venial__tests__parse_fn_prototype.snap.new similarity index 99% rename from src/snapshots/venial__tests__parse_fn_prototype.snap rename to src/snapshots/venial__tests__parse_fn_prototype.snap.new index 541d129..5c8397a 100644 --- a/src/snapshots/venial__tests__parse_fn_prototype.snap +++ b/src/snapshots/venial__tests__parse_fn_prototype.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 854 expression: func --- Function( diff --git a/src/snapshots/venial__tests__parse_fn_self_param-2.snap b/src/snapshots/venial__tests__parse_fn_self_param-2.snap.new similarity index 98% rename from src/snapshots/venial__tests__parse_fn_self_param-2.snap rename to src/snapshots/venial__tests__parse_fn_self_param-2.snap.new index 67ffddb..f8f392f 100644 --- a/src/snapshots/venial__tests__parse_fn_self_param-2.snap +++ b/src/snapshots/venial__tests__parse_fn_self_param-2.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 929 expression: func_ref_self --- Ok( diff --git a/src/snapshots/venial__tests__parse_fn_self_param-3.snap b/src/snapshots/venial__tests__parse_fn_self_param-3.snap.new similarity index 98% rename from src/snapshots/venial__tests__parse_fn_self_param-3.snap rename to src/snapshots/venial__tests__parse_fn_self_param-3.snap.new index a7f3ea6..995ffae 100644 --- a/src/snapshots/venial__tests__parse_fn_self_param-3.snap +++ b/src/snapshots/venial__tests__parse_fn_self_param-3.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 930 expression: func_mut_self --- Ok( diff --git a/src/snapshots/venial__tests__parse_fn_self_param-4.snap b/src/snapshots/venial__tests__parse_fn_self_param-4.snap.new similarity index 98% rename from src/snapshots/venial__tests__parse_fn_self_param-4.snap rename to src/snapshots/venial__tests__parse_fn_self_param-4.snap.new index 49c1d1d..a654354 100644 --- a/src/snapshots/venial__tests__parse_fn_self_param-4.snap +++ b/src/snapshots/venial__tests__parse_fn_self_param-4.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 931 expression: func_ref_mut_self --- Ok( diff --git a/src/snapshots/venial__tests__parse_fn_self_param.snap b/src/snapshots/venial__tests__parse_fn_self_param.snap.new similarity index 98% rename from src/snapshots/venial__tests__parse_fn_self_param.snap rename to src/snapshots/venial__tests__parse_fn_self_param.snap.new index 91111ff..c25605f 100644 --- a/src/snapshots/venial__tests__parse_fn_self_param.snap +++ b/src/snapshots/venial__tests__parse_fn_self_param.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 928 expression: func_self --- Ok( diff --git a/src/snapshots/venial__tests__parse_fn_traits.snap b/src/snapshots/venial__tests__parse_fn_traits.snap.new similarity index 99% rename from src/snapshots/venial__tests__parse_fn_traits.snap rename to src/snapshots/venial__tests__parse_fn_traits.snap.new index a90b48a..dcdc3de 100644 --- a/src/snapshots/venial__tests__parse_fn_traits.snap +++ b/src/snapshots/venial__tests__parse_fn_traits.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 539 +assertion_line: 633 expression: struct_type --- Struct( diff --git a/src/snapshots/venial__tests__parse_generic_args.snap b/src/snapshots/venial__tests__parse_generic_args.snap.new similarity index 96% rename from src/snapshots/venial__tests__parse_generic_args.snap rename to src/snapshots/venial__tests__parse_generic_args.snap.new index 48dcc3d..9176ad6 100644 --- a/src/snapshots/venial__tests__parse_generic_args.snap +++ b/src/snapshots/venial__tests__parse_generic_args.snap.new @@ -1,6 +1,7 @@ --- source: src/tests.rs -expression: parsed +assertion_line: 541 +expression: generic_args --- GenericArgList { args: [ diff --git a/src/snapshots/venial__tests__parse_generic_args_turbofish.snap b/src/snapshots/venial__tests__parse_generic_args_turbofish.snap.new similarity index 67% rename from src/snapshots/venial__tests__parse_generic_args_turbofish.snap rename to src/snapshots/venial__tests__parse_generic_args_turbofish.snap.new index 4dacca6..ac91e6e 100644 --- a/src/snapshots/venial__tests__parse_generic_args_turbofish.snap +++ b/src/snapshots/venial__tests__parse_generic_args_turbofish.snap.new @@ -1,6 +1,7 @@ --- source: src/tests.rs -expression: parsed +assertion_line: 550 +expression: generic_args --- GenericArgList { tk_turbofish_colons: "::", diff --git a/src/snapshots/venial__tests__parse_generic_fn.snap b/src/snapshots/venial__tests__parse_generic_fn.snap.new similarity index 98% rename from src/snapshots/venial__tests__parse_generic_fn.snap rename to src/snapshots/venial__tests__parse_generic_fn.snap.new index 124f21e..f3e0982 100644 --- a/src/snapshots/venial__tests__parse_generic_fn.snap +++ b/src/snapshots/venial__tests__parse_generic_fn.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 707 expression: func --- Function( diff --git a/src/snapshots/venial__tests__parse_impl_inherent.snap b/src/snapshots/venial__tests__parse_impl_inherent.snap.new similarity index 99% rename from src/snapshots/venial__tests__parse_impl_inherent.snap rename to src/snapshots/venial__tests__parse_impl_inherent.snap.new index d194930..75080d1 100644 --- a/src/snapshots/venial__tests__parse_impl_inherent.snap +++ b/src/snapshots/venial__tests__parse_impl_inherent.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 1131 expression: impl_decl --- Impl( diff --git a/src/snapshots/venial__tests__parse_impl_inherent_generic.snap b/src/snapshots/venial__tests__parse_impl_inherent_generic.snap.new similarity index 98% rename from src/snapshots/venial__tests__parse_impl_inherent_generic.snap rename to src/snapshots/venial__tests__parse_impl_inherent_generic.snap.new index c9cddee..b96b814 100644 --- a/src/snapshots/venial__tests__parse_impl_inherent_generic.snap +++ b/src/snapshots/venial__tests__parse_impl_inherent_generic.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 1141 expression: impl_decl --- Impl( diff --git a/src/snapshots/venial__tests__parse_impl_trait.snap b/src/snapshots/venial__tests__parse_impl_trait.snap.new similarity index 99% rename from src/snapshots/venial__tests__parse_impl_trait.snap rename to src/snapshots/venial__tests__parse_impl_trait.snap.new index 7ad5a86..a12aae1 100644 --- a/src/snapshots/venial__tests__parse_impl_trait.snap +++ b/src/snapshots/venial__tests__parse_impl_trait.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 1175 expression: impl_decl --- Impl( diff --git a/src/snapshots/venial__tests__parse_impl_trait_generic.snap b/src/snapshots/venial__tests__parse_impl_trait_generic.snap.new similarity index 99% rename from src/snapshots/venial__tests__parse_impl_trait_generic.snap rename to src/snapshots/venial__tests__parse_impl_trait_generic.snap.new index 2b8e1a9..19458ac 100644 --- a/src/snapshots/venial__tests__parse_impl_trait_generic.snap +++ b/src/snapshots/venial__tests__parse_impl_trait_generic.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 1191 expression: impl_decl --- Impl( diff --git a/src/snapshots/venial__tests__parse_inline_generic_args-2.snap b/src/snapshots/venial__tests__parse_inline_generic_args-2.snap.new similarity index 96% rename from src/snapshots/venial__tests__parse_inline_generic_args-2.snap rename to src/snapshots/venial__tests__parse_inline_generic_args-2.snap.new index b589711..e560d2b 100644 --- a/src/snapshots/venial__tests__parse_inline_generic_args-2.snap +++ b/src/snapshots/venial__tests__parse_inline_generic_args-2.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 564 expression: owned_args --- GenericArgList { diff --git a/src/snapshots/venial__tests__parse_inline_generic_args.snap b/src/snapshots/venial__tests__parse_inline_generic_args.snap.new similarity index 96% rename from src/snapshots/venial__tests__parse_inline_generic_args.snap rename to src/snapshots/venial__tests__parse_inline_generic_args.snap.new index e54bb86..22d516e 100644 --- a/src/snapshots/venial__tests__parse_inline_generic_args.snap +++ b/src/snapshots/venial__tests__parse_inline_generic_args.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 560 expression: params --- [ diff --git a/src/snapshots/venial__tests__parse_mod.snap b/src/snapshots/venial__tests__parse_mod.snap.new similarity index 99% rename from src/snapshots/venial__tests__parse_mod.snap rename to src/snapshots/venial__tests__parse_mod.snap.new index 1faa483..bdc0b80 100644 --- a/src/snapshots/venial__tests__parse_mod.snap +++ b/src/snapshots/venial__tests__parse_mod.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 1353 expression: mod_decl --- Module( diff --git a/src/snapshots/venial__tests__parse_multiple_brackets.snap b/src/snapshots/venial__tests__parse_multiple_brackets.snap.new similarity index 98% rename from src/snapshots/venial__tests__parse_multiple_brackets.snap rename to src/snapshots/venial__tests__parse_multiple_brackets.snap.new index e36bcae..a5e3606 100644 --- a/src/snapshots/venial__tests__parse_multiple_brackets.snap +++ b/src/snapshots/venial__tests__parse_multiple_brackets.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 553 +assertion_line: 647 expression: struct_type --- Struct( diff --git a/src/snapshots/venial__tests__parse_normal_struct.snap b/src/snapshots/venial__tests__parse_normal_struct.snap.new similarity index 98% rename from src/snapshots/venial__tests__parse_normal_struct.snap rename to src/snapshots/venial__tests__parse_normal_struct.snap.new index a76af9e..3aa5e2e 100644 --- a/src/snapshots/venial__tests__parse_normal_struct.snap +++ b/src/snapshots/venial__tests__parse_normal_struct.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 67 +assertion_line: 70 expression: struct_type --- Struct( diff --git a/src/snapshots/venial__tests__parse_normal_struct_attributes.snap b/src/snapshots/venial__tests__parse_normal_struct_attributes.snap.new similarity index 98% rename from src/snapshots/venial__tests__parse_normal_struct_attributes.snap rename to src/snapshots/venial__tests__parse_normal_struct_attributes.snap.new index 12908bb..1139ea3 100644 --- a/src/snapshots/venial__tests__parse_normal_struct_attributes.snap +++ b/src/snapshots/venial__tests__parse_normal_struct_attributes.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 286 expression: struct_type --- Struct( diff --git a/src/snapshots/venial__tests__parse_normal_struct_empty_where_clause.snap b/src/snapshots/venial__tests__parse_normal_struct_empty_where_clause.snap.new similarity index 98% rename from src/snapshots/venial__tests__parse_normal_struct_empty_where_clause.snap rename to src/snapshots/venial__tests__parse_normal_struct_empty_where_clause.snap.new index 2a38a40..58c8ac9 100644 --- a/src/snapshots/venial__tests__parse_normal_struct_empty_where_clause.snap +++ b/src/snapshots/venial__tests__parse_normal_struct_empty_where_clause.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 417 +assertion_line: 448 expression: struct_type --- Struct( diff --git a/src/snapshots/venial__tests__parse_normal_struct_generic_params.snap b/src/snapshots/venial__tests__parse_normal_struct_generic_params.snap.new similarity index 99% rename from src/snapshots/venial__tests__parse_normal_struct_generic_params.snap rename to src/snapshots/venial__tests__parse_normal_struct_generic_params.snap.new index f171b36..39a6e3b 100644 --- a/src/snapshots/venial__tests__parse_normal_struct_generic_params.snap +++ b/src/snapshots/venial__tests__parse_normal_struct_generic_params.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 467 +assertion_line: 498 expression: struct_type --- Struct( diff --git a/src/snapshots/venial__tests__parse_normal_struct_vis-2.snap b/src/snapshots/venial__tests__parse_normal_struct_vis-2.snap.new similarity index 98% rename from src/snapshots/venial__tests__parse_normal_struct_vis-2.snap rename to src/snapshots/venial__tests__parse_normal_struct_vis-2.snap.new index 9831c76..08cdbb2 100644 --- a/src/snapshots/venial__tests__parse_normal_struct_vis-2.snap +++ b/src/snapshots/venial__tests__parse_normal_struct_vis-2.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 182 +assertion_line: 196 expression: struct_type_pub_crate --- Struct( diff --git a/src/snapshots/venial__tests__parse_normal_struct_vis-3.snap b/src/snapshots/venial__tests__parse_normal_struct_vis-3.snap.new similarity index 98% rename from src/snapshots/venial__tests__parse_normal_struct_vis-3.snap rename to src/snapshots/venial__tests__parse_normal_struct_vis-3.snap.new index 38a470d..f2918a1 100644 --- a/src/snapshots/venial__tests__parse_normal_struct_vis-3.snap +++ b/src/snapshots/venial__tests__parse_normal_struct_vis-3.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 183 +assertion_line: 197 expression: struct_type_crate --- Struct( diff --git a/src/snapshots/venial__tests__parse_normal_struct_vis.snap b/src/snapshots/venial__tests__parse_normal_struct_vis.snap.new similarity index 98% rename from src/snapshots/venial__tests__parse_normal_struct_vis.snap rename to src/snapshots/venial__tests__parse_normal_struct_vis.snap.new index 4358d73..fea0a0f 100644 --- a/src/snapshots/venial__tests__parse_normal_struct_vis.snap +++ b/src/snapshots/venial__tests__parse_normal_struct_vis.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 181 +assertion_line: 195 expression: struct_type_pub --- Struct( diff --git a/src/snapshots/venial__tests__parse_normal_struct_where_clause.snap b/src/snapshots/venial__tests__parse_normal_struct_where_clause.snap.new similarity index 98% rename from src/snapshots/venial__tests__parse_normal_struct_where_clause.snap rename to src/snapshots/venial__tests__parse_normal_struct_where_clause.snap.new index 414831d..9c3121b 100644 --- a/src/snapshots/venial__tests__parse_normal_struct_where_clause.snap +++ b/src/snapshots/venial__tests__parse_normal_struct_where_clause.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 365 +assertion_line: 396 expression: struct_type --- Struct( diff --git a/src/snapshots/venial__tests__parse_param_attr_fn.snap b/src/snapshots/venial__tests__parse_param_attr_fn.snap.new similarity index 98% rename from src/snapshots/venial__tests__parse_param_attr_fn.snap rename to src/snapshots/venial__tests__parse_param_attr_fn.snap.new index 73006ea..31ac7f8 100644 --- a/src/snapshots/venial__tests__parse_param_attr_fn.snap +++ b/src/snapshots/venial__tests__parse_param_attr_fn.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 832 expression: func --- Function( diff --git a/src/snapshots/venial__tests__parse_struct_fields_attributes.snap b/src/snapshots/venial__tests__parse_struct_fields_attributes.snap.new similarity index 99% rename from src/snapshots/venial__tests__parse_struct_fields_attributes.snap rename to src/snapshots/venial__tests__parse_struct_fields_attributes.snap.new index f411405..bdc32bc 100644 --- a/src/snapshots/venial__tests__parse_struct_fields_attributes.snap +++ b/src/snapshots/venial__tests__parse_struct_fields_attributes.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 318 expression: struct_type --- Struct( diff --git a/src/snapshots/venial__tests__parse_struct_fields_vis.snap b/src/snapshots/venial__tests__parse_struct_fields_vis.snap.new similarity index 99% rename from src/snapshots/venial__tests__parse_struct_fields_vis.snap rename to src/snapshots/venial__tests__parse_struct_fields_vis.snap.new index b310b46..b7d97a9 100644 --- a/src/snapshots/venial__tests__parse_struct_fields_vis.snap +++ b/src/snapshots/venial__tests__parse_struct_fields_vis.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 226 +assertion_line: 240 expression: struct_type --- Struct( diff --git a/src/snapshots/venial__tests__parse_trait_decorated.snap b/src/snapshots/venial__tests__parse_trait_decorated.snap.new similarity index 98% rename from src/snapshots/venial__tests__parse_trait_decorated.snap rename to src/snapshots/venial__tests__parse_trait_decorated.snap.new index 1f40cf1..68ed310 100644 --- a/src/snapshots/venial__tests__parse_trait_decorated.snap +++ b/src/snapshots/venial__tests__parse_trait_decorated.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 1398 expression: trait_decl --- Trait( diff --git a/src/snapshots/venial__tests__parse_trait_simple.snap b/src/snapshots/venial__tests__parse_trait_simple.snap.new similarity index 99% rename from src/snapshots/venial__tests__parse_trait_simple.snap rename to src/snapshots/venial__tests__parse_trait_simple.snap.new index 157fd38..79f9d3e 100644 --- a/src/snapshots/venial__tests__parse_trait_simple.snap +++ b/src/snapshots/venial__tests__parse_trait_simple.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 1385 expression: trait_decl --- Trait( diff --git a/src/snapshots/venial__tests__parse_tuple_fields_attributes.snap b/src/snapshots/venial__tests__parse_tuple_fields_attributes.snap.new similarity index 99% rename from src/snapshots/venial__tests__parse_tuple_fields_attributes.snap rename to src/snapshots/venial__tests__parse_tuple_fields_attributes.snap.new index 68de8e7..26f5894 100644 --- a/src/snapshots/venial__tests__parse_tuple_fields_attributes.snap +++ b/src/snapshots/venial__tests__parse_tuple_fields_attributes.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 335 expression: struct_type --- Struct( diff --git a/src/snapshots/venial__tests__parse_tuple_fields_vis.snap b/src/snapshots/venial__tests__parse_tuple_fields_vis.snap.new similarity index 98% rename from src/snapshots/venial__tests__parse_tuple_fields_vis.snap rename to src/snapshots/venial__tests__parse_tuple_fields_vis.snap.new index 5d8f2c0..56de535 100644 --- a/src/snapshots/venial__tests__parse_tuple_fields_vis.snap +++ b/src/snapshots/venial__tests__parse_tuple_fields_vis.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 235 +assertion_line: 249 expression: struct_type --- Struct( diff --git a/src/snapshots/venial__tests__parse_tuple_struct.snap b/src/snapshots/venial__tests__parse_tuple_struct.snap.new similarity index 97% rename from src/snapshots/venial__tests__parse_tuple_struct.snap rename to src/snapshots/venial__tests__parse_tuple_struct.snap.new index 2d3713b..137c42c 100644 --- a/src/snapshots/venial__tests__parse_tuple_struct.snap +++ b/src/snapshots/venial__tests__parse_tuple_struct.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 55 +assertion_line: 58 expression: struct_type --- Struct( diff --git a/src/snapshots/venial__tests__parse_tuple_struct_attributes.snap b/src/snapshots/venial__tests__parse_tuple_struct_attributes.snap.new similarity index 98% rename from src/snapshots/venial__tests__parse_tuple_struct_attributes.snap rename to src/snapshots/venial__tests__parse_tuple_struct_attributes.snap.new index 2f8af2a..c8d064f 100644 --- a/src/snapshots/venial__tests__parse_tuple_struct_attributes.snap +++ b/src/snapshots/venial__tests__parse_tuple_struct_attributes.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 273 expression: struct_type --- Struct( diff --git a/src/snapshots/venial__tests__parse_tuple_struct_empty_where_clause.snap b/src/snapshots/venial__tests__parse_tuple_struct_empty_where_clause.snap.new similarity index 97% rename from src/snapshots/venial__tests__parse_tuple_struct_empty_where_clause.snap rename to src/snapshots/venial__tests__parse_tuple_struct_empty_where_clause.snap.new index 7708317..c7286e7 100644 --- a/src/snapshots/venial__tests__parse_tuple_struct_empty_where_clause.snap +++ b/src/snapshots/venial__tests__parse_tuple_struct_empty_where_clause.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 402 +assertion_line: 433 expression: struct_type --- Struct( diff --git a/src/snapshots/venial__tests__parse_tuple_struct_generic_params.snap b/src/snapshots/venial__tests__parse_tuple_struct_generic_params.snap.new similarity index 98% rename from src/snapshots/venial__tests__parse_tuple_struct_generic_params.snap rename to src/snapshots/venial__tests__parse_tuple_struct_generic_params.snap.new index 6c74218..cefdfee 100644 --- a/src/snapshots/venial__tests__parse_tuple_struct_generic_params.snap +++ b/src/snapshots/venial__tests__parse_tuple_struct_generic_params.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 455 +assertion_line: 486 expression: struct_type --- Struct( diff --git a/src/snapshots/venial__tests__parse_tuple_struct_vis-2.snap b/src/snapshots/venial__tests__parse_tuple_struct_vis-2.snap.new similarity index 97% rename from src/snapshots/venial__tests__parse_tuple_struct_vis-2.snap rename to src/snapshots/venial__tests__parse_tuple_struct_vis-2.snap.new index 3864b19..7cb69c3 100644 --- a/src/snapshots/venial__tests__parse_tuple_struct_vis-2.snap +++ b/src/snapshots/venial__tests__parse_tuple_struct_vis-2.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 156 +assertion_line: 170 expression: struct_type_pub_crate --- Struct( diff --git a/src/snapshots/venial__tests__parse_tuple_struct_vis-3.snap b/src/snapshots/venial__tests__parse_tuple_struct_vis-3.snap.new similarity index 97% rename from src/snapshots/venial__tests__parse_tuple_struct_vis-3.snap rename to src/snapshots/venial__tests__parse_tuple_struct_vis-3.snap.new index bbda537..0b41c59 100644 --- a/src/snapshots/venial__tests__parse_tuple_struct_vis-3.snap +++ b/src/snapshots/venial__tests__parse_tuple_struct_vis-3.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 157 +assertion_line: 171 expression: struct_type_crate --- Struct( diff --git a/src/snapshots/venial__tests__parse_tuple_struct_vis.snap b/src/snapshots/venial__tests__parse_tuple_struct_vis.snap.new similarity index 97% rename from src/snapshots/venial__tests__parse_tuple_struct_vis.snap rename to src/snapshots/venial__tests__parse_tuple_struct_vis.snap.new index 91d8b04..b38b825 100644 --- a/src/snapshots/venial__tests__parse_tuple_struct_vis.snap +++ b/src/snapshots/venial__tests__parse_tuple_struct_vis.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 155 +assertion_line: 169 expression: struct_type_pub --- Struct( diff --git a/src/snapshots/venial__tests__parse_tuple_struct_where_clause.snap b/src/snapshots/venial__tests__parse_tuple_struct_where_clause.snap.new similarity index 98% rename from src/snapshots/venial__tests__parse_tuple_struct_where_clause.snap rename to src/snapshots/venial__tests__parse_tuple_struct_where_clause.snap.new index b5a223f..58ed17c 100644 --- a/src/snapshots/venial__tests__parse_tuple_struct_where_clause.snap +++ b/src/snapshots/venial__tests__parse_tuple_struct_where_clause.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 349 +assertion_line: 380 expression: struct_type --- Struct( diff --git a/src/snapshots/venial__tests__parse_type_complex.snap b/src/snapshots/venial__tests__parse_type_complex.snap.new similarity index 98% rename from src/snapshots/venial__tests__parse_type_complex.snap rename to src/snapshots/venial__tests__parse_type_complex.snap.new index 3ec98fb..83b8cba 100644 --- a/src/snapshots/venial__tests__parse_type_complex.snap +++ b/src/snapshots/venial__tests__parse_type_complex.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 1216 expression: ty_decl --- TyDefinition( diff --git a/src/snapshots/venial__tests__parse_type_simple.snap b/src/snapshots/venial__tests__parse_type_simple.snap.new similarity index 97% rename from src/snapshots/venial__tests__parse_type_simple.snap rename to src/snapshots/venial__tests__parse_type_simple.snap.new index 644dd76..7ead404 100644 --- a/src/snapshots/venial__tests__parse_type_simple.snap +++ b/src/snapshots/venial__tests__parse_type_simple.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 1205 expression: ty_decl --- TyDefinition( diff --git a/src/snapshots/venial__tests__parse_union.snap b/src/snapshots/venial__tests__parse_union.snap.new similarity index 98% rename from src/snapshots/venial__tests__parse_union.snap rename to src/snapshots/venial__tests__parse_union.snap.new index e180b14..6353c16 100644 --- a/src/snapshots/venial__tests__parse_union.snap +++ b/src/snapshots/venial__tests__parse_union.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 92 +assertion_line: 95 expression: union_type --- Union( diff --git a/src/snapshots/venial__tests__parse_unit_struct.snap b/src/snapshots/venial__tests__parse_unit_struct.snap.new similarity index 95% rename from src/snapshots/venial__tests__parse_unit_struct.snap rename to src/snapshots/venial__tests__parse_unit_struct.snap.new index b50507e..260e9b3 100644 --- a/src/snapshots/venial__tests__parse_unit_struct.snap +++ b/src/snapshots/venial__tests__parse_unit_struct.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 46 +assertion_line: 49 expression: struct_type --- Struct( diff --git a/src/snapshots/venial__tests__parse_unit_struct_attributes.snap b/src/snapshots/venial__tests__parse_unit_struct_attributes.snap.new similarity index 97% rename from src/snapshots/venial__tests__parse_unit_struct_attributes.snap rename to src/snapshots/venial__tests__parse_unit_struct_attributes.snap.new index db108ca..66a28f7 100644 --- a/src/snapshots/venial__tests__parse_unit_struct_attributes.snap +++ b/src/snapshots/venial__tests__parse_unit_struct_attributes.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 263 expression: struct_type --- Struct( diff --git a/src/snapshots/venial__tests__parse_unit_struct_empty_where_clause.snap b/src/snapshots/venial__tests__parse_unit_struct_empty_where_clause.snap.new similarity index 96% rename from src/snapshots/venial__tests__parse_unit_struct_empty_where_clause.snap rename to src/snapshots/venial__tests__parse_unit_struct_empty_where_clause.snap.new index 986a7fe..4dca251 100644 --- a/src/snapshots/venial__tests__parse_unit_struct_empty_where_clause.snap +++ b/src/snapshots/venial__tests__parse_unit_struct_empty_where_clause.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 392 +assertion_line: 423 expression: struct_type --- Struct( diff --git a/src/snapshots/venial__tests__parse_unit_struct_generic_params.snap b/src/snapshots/venial__tests__parse_unit_struct_generic_params.snap.new similarity index 98% rename from src/snapshots/venial__tests__parse_unit_struct_generic_params.snap rename to src/snapshots/venial__tests__parse_unit_struct_generic_params.snap.new index 25a4be4..67922f4 100644 --- a/src/snapshots/venial__tests__parse_unit_struct_generic_params.snap +++ b/src/snapshots/venial__tests__parse_unit_struct_generic_params.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 446 +assertion_line: 477 expression: struct_type --- Struct( diff --git a/src/snapshots/venial__tests__parse_unit_struct_vis-2.snap b/src/snapshots/venial__tests__parse_unit_struct_vis-2.snap.new similarity index 96% rename from src/snapshots/venial__tests__parse_unit_struct_vis-2.snap rename to src/snapshots/venial__tests__parse_unit_struct_vis-2.snap.new index a1308fb..8a44577 100644 --- a/src/snapshots/venial__tests__parse_unit_struct_vis-2.snap +++ b/src/snapshots/venial__tests__parse_unit_struct_vis-2.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 139 +assertion_line: 153 expression: struct_type_pub_crate --- Struct( diff --git a/src/snapshots/venial__tests__parse_unit_struct_vis-3.snap b/src/snapshots/venial__tests__parse_unit_struct_vis-3.snap.new similarity index 96% rename from src/snapshots/venial__tests__parse_unit_struct_vis-3.snap rename to src/snapshots/venial__tests__parse_unit_struct_vis-3.snap.new index 723b0ab..53e784f 100644 --- a/src/snapshots/venial__tests__parse_unit_struct_vis-3.snap +++ b/src/snapshots/venial__tests__parse_unit_struct_vis-3.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 140 +assertion_line: 154 expression: struct_type_crate --- Struct( diff --git a/src/snapshots/venial__tests__parse_unit_struct_vis.snap b/src/snapshots/venial__tests__parse_unit_struct_vis.snap.new similarity index 96% rename from src/snapshots/venial__tests__parse_unit_struct_vis.snap rename to src/snapshots/venial__tests__parse_unit_struct_vis.snap.new index 0737e80..5ee7473 100644 --- a/src/snapshots/venial__tests__parse_unit_struct_vis.snap +++ b/src/snapshots/venial__tests__parse_unit_struct_vis.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 138 +assertion_line: 152 expression: struct_type_pub --- Struct( diff --git a/src/snapshots/venial__tests__parse_unit_struct_where_clause.snap b/src/snapshots/venial__tests__parse_unit_struct_where_clause.snap.new similarity index 97% rename from src/snapshots/venial__tests__parse_unit_struct_where_clause.snap rename to src/snapshots/venial__tests__parse_unit_struct_where_clause.snap.new index 4068caf..f5b5b5c 100644 --- a/src/snapshots/venial__tests__parse_unit_struct_where_clause.snap +++ b/src/snapshots/venial__tests__parse_unit_struct_where_clause.snap.new @@ -1,6 +1,6 @@ --- source: src/tests.rs -assertion_line: 337 +assertion_line: 368 expression: struct_type --- Struct( diff --git a/src/snapshots/venial__tests__parse_unsafe_fn.snap b/src/snapshots/venial__tests__parse_unsafe_fn.snap.new similarity index 98% rename from src/snapshots/venial__tests__parse_unsafe_fn.snap rename to src/snapshots/venial__tests__parse_unsafe_fn.snap.new index 53b98de..8b90899 100644 --- a/src/snapshots/venial__tests__parse_unsafe_fn.snap +++ b/src/snapshots/venial__tests__parse_unsafe_fn.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 791 expression: func --- Function( diff --git a/src/snapshots/venial__tests__parse_visi_fn.snap b/src/snapshots/venial__tests__parse_visi_fn.snap.new similarity index 98% rename from src/snapshots/venial__tests__parse_visi_fn.snap rename to src/snapshots/venial__tests__parse_visi_fn.snap.new index 19d647b..2e7f8c5 100644 --- a/src/snapshots/venial__tests__parse_visi_fn.snap +++ b/src/snapshots/venial__tests__parse_visi_fn.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 751 expression: func --- Function( diff --git a/src/snapshots/venial__tests__parse_where_fn-2.snap b/src/snapshots/venial__tests__parse_where_fn-2.snap.new similarity index 98% rename from src/snapshots/venial__tests__parse_where_fn-2.snap rename to src/snapshots/venial__tests__parse_where_fn-2.snap.new index 1bed71b..8fb519b 100644 --- a/src/snapshots/venial__tests__parse_where_fn-2.snap +++ b/src/snapshots/venial__tests__parse_where_fn-2.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 730 expression: func_2 --- Function( diff --git a/src/snapshots/venial__tests__parse_where_fn.snap b/src/snapshots/venial__tests__parse_where_fn.snap.new similarity index 98% rename from src/snapshots/venial__tests__parse_where_fn.snap rename to src/snapshots/venial__tests__parse_where_fn.snap.new index 8b178bb..bc22739 100644 --- a/src/snapshots/venial__tests__parse_where_fn.snap +++ b/src/snapshots/venial__tests__parse_where_fn.snap.new @@ -1,5 +1,6 @@ --- source: src/tests.rs +assertion_line: 729 expression: func --- Function(