mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Add open delim when delim not match
This commit is contained in:
parent
6bcaa1d7d1
commit
adc54632ae
2 changed files with 28 additions and 5 deletions
|
@ -1694,5 +1694,5 @@ fn test_expand_bad_literal() {
|
|||
macro_rules! foo { ($i:literal) => {}; }
|
||||
"#,
|
||||
)
|
||||
.assert_expand_err(r#"foo!(&k");"#, &ExpandError::ConversionError);
|
||||
.assert_expand_err(r#"foo!(&k");"#, &ExpandError::BindingError("".into()));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue