mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-21 22:34:05 +00:00
macros: fully specify path to Fn
Signed-off-by: David Wood <david.wood@huawei.com>
This commit is contained in:
parent
1045e69e73
commit
feeeb11d89
@ -86,7 +86,7 @@ impl SubdiagnosticDeriveBuilder {
|
||||
gen impl rustc_errors::AddToDiagnostic for @Self {
|
||||
fn add_to_diagnostic_with<__F>(self, #diag: &mut rustc_errors::Diagnostic, #f: __F)
|
||||
where
|
||||
__F: Fn(
|
||||
__F: core::ops::Fn(
|
||||
&mut rustc_errors::Diagnostic,
|
||||
rustc_errors::SubdiagnosticMessage
|
||||
) -> rustc_errors::SubdiagnosticMessage,
|
||||
|
Loading…
Reference in New Issue
Block a user