Fix performance problem
This commit is contained in:
@@ -1663,5 +1663,5 @@ fn test_expand_bad_literal() {
|
||||
macro_rules! foo { ($i:literal) => {}; }
|
||||
"#,
|
||||
)
|
||||
.assert_expand_err(r#"foo!(&k");"#, &ExpandError::NoMatchingRule);
|
||||
.assert_expand_err(r#"foo!(&k");"#, &ExpandError::BindingError("".to_string()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user