We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Fn
1 parent 1045e69 commit feeeb11Copy full SHA for feeeb11
compiler/rustc_macros/src/diagnostics/subdiagnostic.rs
@@ -86,7 +86,7 @@ impl SubdiagnosticDeriveBuilder {
86
gen impl rustc_errors::AddToDiagnostic for @Self {
87
fn add_to_diagnostic_with<__F>(self, #diag: &mut rustc_errors::Diagnostic, #f: __F)
88
where
89
- __F: Fn(
+ __F: core::ops::Fn(
90
&mut rustc_errors::Diagnostic,
91
rustc_errors::SubdiagnosticMessage
92
) -> rustc_errors::SubdiagnosticMessage,
0 commit comments