We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef9b498 commit b96e5c6Copy full SHA for b96e5c6
compiler/rustc_interface/src/callbacks.rs
@@ -24,7 +24,7 @@ fn track_span_parent(def_id: rustc_span::def_id::LocalDefId) {
24
}
25
26
/// This is a callback from `rustc_ast` as it cannot access the implicit state
27
-/// in `rustc_middle` otherwise. It is used to when diagnostic messages are
+/// in `rustc_middle` otherwise. It is used when diagnostic messages are
28
/// emitted and stores them in the current query, if there is one.
29
fn track_diagnostic(diagnostic: &Diagnostic) {
30
tls::with_context_opt(|icx| {
0 commit comments