From 6e8dedadcd65c7e21aaee3ec7c1fd6000558ca02 Mon Sep 17 00:00:00 2001 From: Mario Carneiro Date: Mon, 30 Aug 2021 02:36:21 -0700 Subject: [PATCH] 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. --- crates/hir_expand/src/db.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/hir_expand/src/db.rs b/crates/hir_expand/src/db.rs index e990d5fce6..dc65cd1f3c 100644 --- a/crates/hir_expand/src/db.rs +++ b/crates/hir_expand/src/db.rs @@ -366,7 +366,7 @@ fn macro_expand(db: &dyn AstDatabase, id: MacroCallId) -> ExpandResult 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) {