macros: fully specify path to Fn
Signed-off-by: David Wood <david.wood@huawei.com>
This commit is contained in:
parent
1045e69e73
commit
feeeb11d89
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ impl SubdiagnosticDeriveBuilder {
|
||||||
gen impl rustc_errors::AddToDiagnostic for @Self {
|
gen impl rustc_errors::AddToDiagnostic for @Self {
|
||||||
fn add_to_diagnostic_with<__F>(self, #diag: &mut rustc_errors::Diagnostic, #f: __F)
|
fn add_to_diagnostic_with<__F>(self, #diag: &mut rustc_errors::Diagnostic, #f: __F)
|
||||||
where
|
where
|
||||||
__F: Fn(
|
__F: core::ops::Fn(
|
||||||
&mut rustc_errors::Diagnostic,
|
&mut rustc_errors::Diagnostic,
|
||||||
rustc_errors::SubdiagnosticMessage
|
rustc_errors::SubdiagnosticMessage
|
||||||
) -> rustc_errors::SubdiagnosticMessage,
|
) -> rustc_errors::SubdiagnosticMessage,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue