mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Fix performance problem
This commit is contained in:
parent
e6ec4a329f
commit
0660dd10d2
2 changed files with 40 additions and 35 deletions
|
@ -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()));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue