diff options
| author | Laurențiu Nicola <lnicola@dend.ro> | 2021-11-16 19:59:36 +0200 |
|---|---|---|
| committer | Laurențiu Nicola <lnicola@dend.ro> | 2021-11-16 20:02:42 +0200 |
| commit | b23bebebc0a5dd974b42c45eaac224bc420da4e2 (patch) | |
| tree | be0f6e550718f7fa8fafa0ba0cb0844404dc0c5f /crates/syntax/test_data | |
| parent | 6c7be6cd84e17932473ab036d38b73821ddc6be6 (diff) | |
| download | rust-b23bebebc0a5dd974b42c45eaac224bc420da4e2.tar.gz rust-b23bebebc0a5dd974b42c45eaac224bc420da4e2.zip | |
Remove validation of `super` in use paths
Diffstat (limited to 'crates/syntax/test_data')
| -rw-r--r-- | crates/syntax/test_data/parser/err/0041_illegal_self_keyword_location.rast (renamed from crates/syntax/test_data/parser/err/0042_illegal_self_keyword_location.rast) | 0 | ||||
| -rw-r--r-- | crates/syntax/test_data/parser/err/0041_illegal_self_keyword_location.rs (renamed from crates/syntax/test_data/parser/err/0042_illegal_self_keyword_location.rs) | 0 | ||||
| -rw-r--r-- | crates/syntax/test_data/parser/err/0041_illegal_super_keyword_location.rast | 75 | ||||
| -rw-r--r-- | crates/syntax/test_data/parser/err/0041_illegal_super_keyword_location.rs | 4 | ||||
| -rw-r--r-- | crates/syntax/test_data/parser/err/0042_weird_blocks.rast (renamed from crates/syntax/test_data/parser/err/0043_weird_blocks.rast) | 0 | ||||
| -rw-r--r-- | crates/syntax/test_data/parser/err/0042_weird_blocks.rs (renamed from crates/syntax/test_data/parser/err/0043_weird_blocks.rs) | 0 | ||||
| -rw-r--r-- | crates/syntax/test_data/parser/err/0043_unexpected_for_type.rast (renamed from crates/syntax/test_data/parser/err/0044_unexpected_for_type.rast) | 0 | ||||
| -rw-r--r-- | crates/syntax/test_data/parser/err/0043_unexpected_for_type.rs (renamed from crates/syntax/test_data/parser/err/0044_unexpected_for_type.rs) | 0 | ||||
| -rw-r--r-- | crates/syntax/test_data/parser/err/0044_item_modifiers.rast (renamed from crates/syntax/test_data/parser/err/0045_item_modifiers.rast) | 0 | ||||
| -rw-r--r-- | crates/syntax/test_data/parser/err/0044_item_modifiers.rs (renamed from crates/syntax/test_data/parser/err/0045_item_modifiers.rs) | 0 | ||||
| -rw-r--r-- | crates/syntax/test_data/parser/err/0045_ambiguous_trait_object.rast (renamed from crates/syntax/test_data/parser/err/0046_ambiguous_trait_object.rast) | 0 | ||||
| -rw-r--r-- | crates/syntax/test_data/parser/err/0045_ambiguous_trait_object.rs (renamed from crates/syntax/test_data/parser/err/0046_ambiguous_trait_object.rs) | 0 | ||||
| -rw-r--r-- | crates/syntax/test_data/parser/err/0046_mutable_const_item.rast (renamed from crates/syntax/test_data/parser/err/0047_mutable_const_item.rast) | 0 | ||||
| -rw-r--r-- | crates/syntax/test_data/parser/err/0046_mutable_const_item.rs (renamed from crates/syntax/test_data/parser/err/0047_mutable_const_item.rs) | 0 | ||||
| -rw-r--r-- | crates/syntax/test_data/parser/err/0047_repated_extern_modifier.rast (renamed from crates/syntax/test_data/parser/err/0048_repated_extern_modifier.rast) | 0 | ||||
| -rw-r--r-- | crates/syntax/test_data/parser/err/0047_repated_extern_modifier.rs (renamed from crates/syntax/test_data/parser/err/0048_repated_extern_modifier.rs) | 0 | ||||
| -rw-r--r-- | crates/syntax/test_data/parser/err/0048_double_fish.rast (renamed from crates/syntax/test_data/parser/err/0049_double_fish.rast) | 0 | ||||
| -rw-r--r-- | crates/syntax/test_data/parser/err/0048_double_fish.rs (renamed from crates/syntax/test_data/parser/err/0049_double_fish.rs) | 0 |
18 files changed, 0 insertions, 79 deletions
diff --git a/crates/syntax/test_data/parser/err/0042_illegal_self_keyword_location.rast b/crates/syntax/test_data/parser/err/0041_illegal_self_keyword_location.rast index 01f60109144..01f60109144 100644 --- a/crates/syntax/test_data/parser/err/0042_illegal_self_keyword_location.rast +++ b/crates/syntax/test_data/parser/err/0041_illegal_self_keyword_location.rast diff --git a/crates/syntax/test_data/parser/err/0042_illegal_self_keyword_location.rs b/crates/syntax/test_data/parser/err/0041_illegal_self_keyword_location.rs index b9e1d7d8be2..b9e1d7d8be2 100644 --- a/crates/syntax/test_data/parser/err/0042_illegal_self_keyword_location.rs +++ b/crates/syntax/test_data/parser/err/0041_illegal_self_keyword_location.rs diff --git a/crates/syntax/test_data/parser/err/0041_illegal_super_keyword_location.rast b/crates/syntax/test_data/parser/err/0041_illegal_super_keyword_location.rast deleted file mode 100644 index 271f8d78038..00000000000 --- a/crates/syntax/test_data/parser/err/0041_illegal_super_keyword_location.rast +++ /dev/null @@ -1,75 +0,0 @@ -SOURCE_FILE@0..67 - USE@0..12 - USE_KW@0..3 "use" - WHITESPACE@3..4 " " - USE_TREE@4..11 - PATH@4..11 - PATH_SEGMENT@4..11 - COLON2@4..6 "::" - NAME_REF@6..11 - SUPER_KW@6..11 "super" - SEMICOLON@11..12 ";" - WHITESPACE@12..13 "\n" - USE@13..26 - USE_KW@13..16 "use" - WHITESPACE@16..17 " " - USE_TREE@17..25 - PATH@17..25 - PATH@17..18 - PATH_SEGMENT@17..18 - NAME_REF@17..18 - IDENT@17..18 "a" - COLON2@18..20 "::" - PATH_SEGMENT@20..25 - NAME_REF@20..25 - SUPER_KW@20..25 "super" - SEMICOLON@25..26 ";" - WHITESPACE@26..27 "\n" - USE@27..47 - USE_KW@27..30 "use" - WHITESPACE@30..31 " " - USE_TREE@31..46 - PATH@31..46 - PATH@31..39 - PATH@31..36 - PATH_SEGMENT@31..36 - NAME_REF@31..36 - SUPER_KW@31..36 "super" - COLON2@36..38 "::" - PATH_SEGMENT@38..39 - NAME_REF@38..39 - IDENT@38..39 "a" - COLON2@39..41 "::" - PATH_SEGMENT@41..46 - NAME_REF@41..46 - SUPER_KW@41..46 "super" - SEMICOLON@46..47 ";" - WHITESPACE@47..48 "\n" - USE@48..66 - USE_KW@48..51 "use" - WHITESPACE@51..52 " " - USE_TREE@52..65 - PATH@52..53 - PATH_SEGMENT@52..53 - NAME_REF@52..53 - IDENT@52..53 "a" - COLON2@53..55 "::" - USE_TREE_LIST@55..65 - L_CURLY@55..56 "{" - USE_TREE@56..64 - PATH@56..64 - PATH@56..61 - PATH_SEGMENT@56..61 - NAME_REF@56..61 - SUPER_KW@56..61 "super" - COLON2@61..63 "::" - PATH_SEGMENT@63..64 - NAME_REF@63..64 - IDENT@63..64 "b" - R_CURLY@64..65 "}" - SEMICOLON@65..66 ";" - WHITESPACE@66..67 "\n" -error 6..11: The `super` keyword may only be preceded by other `super`s -error 20..25: The `super` keyword may only be preceded by other `super`s -error 41..46: The `super` keyword may only be preceded by other `super`s -error 56..61: The `super` keyword may only be preceded by other `super`s diff --git a/crates/syntax/test_data/parser/err/0041_illegal_super_keyword_location.rs b/crates/syntax/test_data/parser/err/0041_illegal_super_keyword_location.rs deleted file mode 100644 index bd4d5804263..00000000000 --- a/crates/syntax/test_data/parser/err/0041_illegal_super_keyword_location.rs +++ /dev/null @@ -1,4 +0,0 @@ -use ::super; -use a::super; -use super::a::super; -use a::{super::b}; diff --git a/crates/syntax/test_data/parser/err/0043_weird_blocks.rast b/crates/syntax/test_data/parser/err/0042_weird_blocks.rast index 25910cb4052..25910cb4052 100644 --- a/crates/syntax/test_data/parser/err/0043_weird_blocks.rast +++ b/crates/syntax/test_data/parser/err/0042_weird_blocks.rast diff --git a/crates/syntax/test_data/parser/err/0043_weird_blocks.rs b/crates/syntax/test_data/parser/err/0042_weird_blocks.rs index 8fa324c1a14..8fa324c1a14 100644 --- a/crates/syntax/test_data/parser/err/0043_weird_blocks.rs +++ b/crates/syntax/test_data/parser/err/0042_weird_blocks.rs diff --git a/crates/syntax/test_data/parser/err/0044_unexpected_for_type.rast b/crates/syntax/test_data/parser/err/0043_unexpected_for_type.rast index d4e4bf102ed..d4e4bf102ed 100644 --- a/crates/syntax/test_data/parser/err/0044_unexpected_for_type.rast +++ b/crates/syntax/test_data/parser/err/0043_unexpected_for_type.rast diff --git a/crates/syntax/test_data/parser/err/0044_unexpected_for_type.rs b/crates/syntax/test_data/parser/err/0043_unexpected_for_type.rs index 0e9f8ccb4f8..0e9f8ccb4f8 100644 --- a/crates/syntax/test_data/parser/err/0044_unexpected_for_type.rs +++ b/crates/syntax/test_data/parser/err/0043_unexpected_for_type.rs diff --git a/crates/syntax/test_data/parser/err/0045_item_modifiers.rast b/crates/syntax/test_data/parser/err/0044_item_modifiers.rast index b4ff1a14a7c..b4ff1a14a7c 100644 --- a/crates/syntax/test_data/parser/err/0045_item_modifiers.rast +++ b/crates/syntax/test_data/parser/err/0044_item_modifiers.rast diff --git a/crates/syntax/test_data/parser/err/0045_item_modifiers.rs b/crates/syntax/test_data/parser/err/0044_item_modifiers.rs index 731e58013bd..731e58013bd 100644 --- a/crates/syntax/test_data/parser/err/0045_item_modifiers.rs +++ b/crates/syntax/test_data/parser/err/0044_item_modifiers.rs diff --git a/crates/syntax/test_data/parser/err/0046_ambiguous_trait_object.rast b/crates/syntax/test_data/parser/err/0045_ambiguous_trait_object.rast index d94daacdc1d..d94daacdc1d 100644 --- a/crates/syntax/test_data/parser/err/0046_ambiguous_trait_object.rast +++ b/crates/syntax/test_data/parser/err/0045_ambiguous_trait_object.rast diff --git a/crates/syntax/test_data/parser/err/0046_ambiguous_trait_object.rs b/crates/syntax/test_data/parser/err/0045_ambiguous_trait_object.rs index 3a73d81bb5d..3a73d81bb5d 100644 --- a/crates/syntax/test_data/parser/err/0046_ambiguous_trait_object.rs +++ b/crates/syntax/test_data/parser/err/0045_ambiguous_trait_object.rs diff --git a/crates/syntax/test_data/parser/err/0047_mutable_const_item.rast b/crates/syntax/test_data/parser/err/0046_mutable_const_item.rast index c7eb312c92c..c7eb312c92c 100644 --- a/crates/syntax/test_data/parser/err/0047_mutable_const_item.rast +++ b/crates/syntax/test_data/parser/err/0046_mutable_const_item.rast diff --git a/crates/syntax/test_data/parser/err/0047_mutable_const_item.rs b/crates/syntax/test_data/parser/err/0046_mutable_const_item.rs index b34336f3f15..b34336f3f15 100644 --- a/crates/syntax/test_data/parser/err/0047_mutable_const_item.rs +++ b/crates/syntax/test_data/parser/err/0046_mutable_const_item.rs diff --git a/crates/syntax/test_data/parser/err/0048_repated_extern_modifier.rast b/crates/syntax/test_data/parser/err/0047_repated_extern_modifier.rast index 85e10ca36db..85e10ca36db 100644 --- a/crates/syntax/test_data/parser/err/0048_repated_extern_modifier.rast +++ b/crates/syntax/test_data/parser/err/0047_repated_extern_modifier.rast diff --git a/crates/syntax/test_data/parser/err/0048_repated_extern_modifier.rs b/crates/syntax/test_data/parser/err/0047_repated_extern_modifier.rs index 1fb18eaf1bc..1fb18eaf1bc 100644 --- a/crates/syntax/test_data/parser/err/0048_repated_extern_modifier.rs +++ b/crates/syntax/test_data/parser/err/0047_repated_extern_modifier.rs diff --git a/crates/syntax/test_data/parser/err/0049_double_fish.rast b/crates/syntax/test_data/parser/err/0048_double_fish.rast index ca52166fbc4..ca52166fbc4 100644 --- a/crates/syntax/test_data/parser/err/0049_double_fish.rast +++ b/crates/syntax/test_data/parser/err/0048_double_fish.rast diff --git a/crates/syntax/test_data/parser/err/0049_double_fish.rs b/crates/syntax/test_data/parser/err/0048_double_fish.rs index 31c12bfff9f..31c12bfff9f 100644 --- a/crates/syntax/test_data/parser/err/0049_double_fish.rs +++ b/crates/syntax/test_data/parser/err/0048_double_fish.rs |
