summaryrefslogtreecommitdiffstats
path: root/compiler/rustc_query_system/src/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rustc_query_system/src/error.rs')
-rw-r--r--compiler/rustc_query_system/src/error.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_query_system/src/error.rs b/compiler/rustc_query_system/src/error.rs
index cf2f04c74..e49e78cc7 100644
--- a/compiler/rustc_query_system/src/error.rs
+++ b/compiler/rustc_query_system/src/error.rs
@@ -57,6 +57,8 @@ pub struct Cycle {
pub alias: Option<Alias>,
#[subdiagnostic]
pub cycle_usage: Option<CycleUsage>,
+ #[note]
+ pub note_span: (),
}
#[derive(Diagnostic)]