diff --git a/compiler/rustc_query_system/messages.ftl b/compiler/rustc_query_system/messages.ftl index f686608034cba..d2ab2d34c5fcc 100644 --- a/compiler/rustc_query_system/messages.ftl +++ b/compiler/rustc_query_system/messages.ftl @@ -16,10 +16,11 @@ query_system_cycle_stack_single = ...which immediately requires {$stack_bottom} query_system_cycle_usage = cycle used when {$usage} query_system_increment_compilation = internal compiler error: encountered incremental compilation error with {$dep_node} - .help = This is a known issue with the compiler. Run {$run_cmd} to allow your project to compile query_system_increment_compilation_note1 = please follow the instructions below to create a bug report with the provided information -query_system_increment_compilation_note2 = see for more information +query_system_increment_compilation_note2 = for incremental compilation bugs, having a reproduction is vital +query_system_increment_compilation_note3 = an ideal reproduction consists of the code before and some patch that then triggers the bug when applied and compiled again +query_system_increment_compilation_note4 = as a workaround, you can run {$run_cmd} to allow your project to compile query_system_overflow_note = query depth increased by {$depth} when {$desc} diff --git a/compiler/rustc_query_system/src/error.rs b/compiler/rustc_query_system/src/error.rs index 2778b24e7741b..96998c7986897 100644 --- a/compiler/rustc_query_system/src/error.rs +++ b/compiler/rustc_query_system/src/error.rs @@ -69,9 +69,10 @@ pub(crate) struct Reentrant; #[derive(Diagnostic)] #[diag(query_system_increment_compilation)] -#[help] #[note(query_system_increment_compilation_note1)] #[note(query_system_increment_compilation_note2)] +#[note(query_system_increment_compilation_note3)] +#[note(query_system_increment_compilation_note4)] pub(crate) struct IncrementCompilation { pub run_cmd: String, pub dep_node: String,