mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-12 13:18:47 +00:00
Fix error message
I'm not entirely sure if the message is still correct, it seems to have survived a number of refactors, but it is mangled english anyway.
This commit is contained in:
parent
1636f61a15
commit
6e8dedadcd
1 changed files with 1 additions and 1 deletions
|
@ -366,7 +366,7 @@ fn macro_expand(db: &dyn AstDatabase, id: MacroCallId) -> ExpandResult<Option<Ar
|
||||||
|
|
||||||
let macro_arg = match db.macro_arg(id) {
|
let macro_arg = match db.macro_arg(id) {
|
||||||
Some(it) => it,
|
Some(it) => it,
|
||||||
None => return ExpandResult::str_err("Fail to args in to tt::TokenTree".into()),
|
None => return ExpandResult::str_err("Fail to lower args to token tree".into()),
|
||||||
};
|
};
|
||||||
|
|
||||||
let macro_rules = match db.macro_def(loc.def) {
|
let macro_rules = match db.macro_def(loc.def) {
|
||||||
|
|
Loading…
Reference in a new issue