diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-07-30 17:07:32 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-07-30 17:07:32 +0100 |
commit | 8de0eb904baf1fa261a7825402bb3adf0c23b843 (patch) | |
tree | 34296539101d8db4a484c472a45a1e30503791ef /crates/ra_mbe/src/tests.rs | |
parent | 97df465391f50521c5102474d7e0ee2ea61ef48e (diff) | |
parent | 609680ef97dbf82c07b6b06e21aa366423892304 (diff) |
Merge #5603
5603: Rename EnumDef -> Enum r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_mbe/src/tests.rs')
-rw-r--r-- | crates/ra_mbe/src/tests.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_mbe/src/tests.rs b/crates/ra_mbe/src/tests.rs index 21af06e73..707e84f42 100644 --- a/crates/ra_mbe/src/tests.rs +++ b/crates/ra_mbe/src/tests.rs | |||
@@ -1467,7 +1467,7 @@ macro_rules! quick_error { | |||
1467 | buf [ ] | 1467 | buf [ ] |
1468 | queue [ ] | 1468 | queue [ ] |
1469 | ) => { | 1469 | ) => { |
1470 | quick_error!(ENUM_DEFINITION [enum $name $( #[$meta] )*] | 1470 | quick_error!(ENUMINITION [enum $name $( #[$meta] )*] |
1471 | body [] | 1471 | body [] |
1472 | queue [$( | 1472 | queue [$( |
1473 | $( #[$imeta] )* | 1473 | $( #[$imeta] )* |
@@ -1489,7 +1489,7 @@ quick_error ! (SORT [enum Wrapped # [derive (Debug)]] items [ | |||
1489 | "#, | 1489 | "#, |
1490 | ); | 1490 | ); |
1491 | 1491 | ||
1492 | assert_eq!(expanded.to_string(), "quick_error ! (ENUM_DEFINITION [enum Wrapped # [derive (Debug)]] body [] queue [=> One : UNIT [] => Two : TUPLE [s : String]]) ;"); | 1492 | assert_eq!(expanded.to_string(), "quick_error ! (ENUMINITION [enum Wrapped # [derive (Debug)]] body [] queue [=> One : UNIT [] => Two : TUPLE [s : String]]) ;"); |
1493 | } | 1493 | } |
1494 | 1494 | ||
1495 | #[test] | 1495 | #[test] |