[−][src]Function rustc_interface::callbacks::track_diagnostic
pub(in callbacks) fn track_diagnostic(
diagnostic: &Diagnostic
)
This is a callback from librustc_ast as it cannot access the implicit state in librustc_middle otherwise. It is used to when diagnostic messages are emitted and stores them in the current query, if there is one.