Skip to content

Commit feeeb11

Browse files
committed
macros: fully specify path to Fn
Signed-off-by: David Wood <david.wood@huawei.com>
1 parent 1045e69 commit feeeb11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_macros/src/diagnostics/subdiagnostic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ impl SubdiagnosticDeriveBuilder {
8686
gen impl rustc_errors::AddToDiagnostic for @Self {
8787
fn add_to_diagnostic_with<__F>(self, #diag: &mut rustc_errors::Diagnostic, #f: __F)
8888
where
89-
__F: Fn(
89+
__F: core::ops::Fn(
9090
&mut rustc_errors::Diagnostic,
9191
rustc_errors::SubdiagnosticMessage
9292
) -> rustc_errors::SubdiagnosticMessage,

0 commit comments

Comments
 (0)