]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_expand/src/errors.rs
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[rust.git] / compiler / rustc_expand / src / errors.rs
index afe5169d3f5c0b616754ddf8ac7fa80ebd12b894..9b9697ab13d26a767e4cf5c922ed7caf3a0192f4 100644 (file)
@@ -368,3 +368,10 @@ pub(crate) struct ModuleMultipleCandidates {
     pub default_path: String,
     pub secondary_path: String,
 }
+
+#[derive(Diagnostic)]
+#[diag(expand_trace_macro)]
+pub struct TraceMacro {
+    #[primary_span]
+    pub span: Span,
+}