Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

translation: doc comments with derives, subdiagnostic-less enum variants, more derive use #103051

Merged
merged 8 commits into from
Oct 21, 2022
Prev Previous commit
Next Next commit
macros: fully specify path to Fn
Signed-off-by: David Wood <[email protected]>
  • Loading branch information
davidtwco committed Oct 17, 2022
commit feeeb11d89d4f379085d5ee1374b3660e46815e3
2 changes: 1 addition & 1 deletion compiler/rustc_macros/src/diagnostics/subdiagnostic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down