diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-04-08 19:43:41 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-04-08 19:43:41 +0100 |
commit | 51e5316de57939a98e33504ac23344f14240b6dc (patch) | |
tree | 3403086d9e04417e92b0c3ad2af09151e698a3c5 /crates/hir_def/src/nameres | |
parent | 5f279d57f0cba600eae8c550654a00b4268812ac (diff) | |
parent | 86b7861612ba074120dfb6bd32c80c569688748d (diff) |
Merge #8428
8428: Use named fields in `MacroCallKind` r=jonas-schievink a=jonas-schievink
bors r+
changelog skip
Co-authored-by: Jonas Schievink <[email protected]>
Diffstat (limited to 'crates/hir_def/src/nameres')
-rw-r--r-- | crates/hir_def/src/nameres/collector.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir_def/src/nameres/collector.rs b/crates/hir_def/src/nameres/collector.rs index 6dbbe2d05..f431da3f2 100644 --- a/crates/hir_def/src/nameres/collector.rs +++ b/crates/hir_def/src/nameres/collector.rs | |||
@@ -1520,7 +1520,7 @@ impl ModCollector<'_, '_> { | |||
1520 | // Built-in macro failed eager expansion. | 1520 | // Built-in macro failed eager expansion. |
1521 | self.def_collector.def_map.diagnostics.push(DefDiagnostic::macro_error( | 1521 | self.def_collector.def_map.diagnostics.push(DefDiagnostic::macro_error( |
1522 | self.module_id, | 1522 | self.module_id, |
1523 | MacroCallKind::FnLike(ast_id.ast_id), | 1523 | MacroCallKind::FnLike { ast_id: ast_id.ast_id }, |
1524 | error.unwrap().to_string(), | 1524 | error.unwrap().to_string(), |
1525 | )); | 1525 | )); |
1526 | return; | 1526 | return; |