Skip to content

Commit 6e8deda

Browse files
authored
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.
1 parent 1636f61 commit 6e8deda

File tree

1 file changed

+1
-1
lines changed
  • crates/hir_expand/src

1 file changed

+1
-1
lines changed

crates/hir_expand/src/db.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ fn macro_expand(db: &dyn AstDatabase, id: MacroCallId) -> ExpandResult<Option<Ar
366366

367367
let macro_arg = match db.macro_arg(id) {
368368
Some(it) => it,
369-
None => return ExpandResult::str_err("Fail to args in to tt::TokenTree".into()),
369+
None => return ExpandResult::str_err("Fail to lower args to token tree".into()),
370370
};
371371

372372
let macro_rules = match db.macro_def(loc.def) {

0 commit comments

Comments
 (0)