From 883c8d177d61d34d70d4fccef788fe4b35aaa7ea Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Thu, 3 Dec 2020 15:31:04 +0100 Subject: Make `compile_error!` lazy and emit a diagnostic --- crates/hir_expand/src/db.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/hir_expand/src/db.rs') diff --git a/crates/hir_expand/src/db.rs b/crates/hir_expand/src/db.rs index 4fd0ba290..842a177db 100644 --- a/crates/hir_expand/src/db.rs +++ b/crates/hir_expand/src/db.rs @@ -207,6 +207,7 @@ fn macro_expand_with_arg( } else { return ExpandResult { value: Some(db.lookup_intern_eager_expansion(id).subtree), + // FIXME: There could be errors here! err: None, }; } -- cgit v1.2.3