We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06c575e commit 1584a3eCopy full SHA for 1584a3e
1 file changed
crates/vespera_macro/src/parser/is_keyword_type.rs
@@ -64,6 +64,8 @@ mod tests {
64
#[case("othermod::Json", KeywordType::Json, true)]
65
#[case("CustomType", KeywordType::Path, false)]
66
#[case("Result", KeywordType::Result, true)]
67
+ #[case("Result<String, String>", KeywordType::Result, true)]
68
+ #[case("!", KeywordType::Result, false)]
69
fn test_is_keyword_type(
70
#[case] ty_str: &str,
71
#[case] keyword: KeywordType,
0 commit comments