mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
Rename EnumDef -> Enum
This commit is contained in:
parent
216a5344c8
commit
609680ef97
35 changed files with 83 additions and 83 deletions
|
@ -1467,7 +1467,7 @@ macro_rules! quick_error {
|
|||
buf [ ]
|
||||
queue [ ]
|
||||
) => {
|
||||
quick_error!(ENUM_DEFINITION [enum $name $( #[$meta] )*]
|
||||
quick_error!(ENUMINITION [enum $name $( #[$meta] )*]
|
||||
body []
|
||||
queue [$(
|
||||
$( #[$imeta] )*
|
||||
|
@ -1489,7 +1489,7 @@ quick_error ! (SORT [enum Wrapped # [derive (Debug)]] items [
|
|||
"#,
|
||||
);
|
||||
|
||||
assert_eq!(expanded.to_string(), "quick_error ! (ENUM_DEFINITION [enum Wrapped # [derive (Debug)]] body [] queue [=> One : UNIT [] => Two : TUPLE [s : String]]) ;");
|
||||
assert_eq!(expanded.to_string(), "quick_error ! (ENUMINITION [enum Wrapped # [derive (Debug)]] body [] queue [=> One : UNIT [] => Two : TUPLE [s : String]]) ;");
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue