]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_hir_typeck/src/errors.rs
Rollup merge of #104461 - mati865:gnullvm-aarch64-fixup, r=Mark-Simulacrum
[rust.git] / compiler / rustc_hir_typeck / src / errors.rs
index cfb408396da05e4d0e55b42ce4b7a3981559e82d..afac6e7d94a8116ca0ef9916c61c569d1f24dbfb 100644 (file)
@@ -125,3 +125,11 @@ pub struct AddMissingParenthesesInRange {
     #[suggestion_part(code = ")")]
     pub right: Span,
 }
+
+#[derive(Diagnostic)]
+#[diag(hir_analysis_op_trait_generic_params)]
+pub struct OpMethodGenericParams {
+    #[primary_span]
+    pub span: Span,
+    pub method_name: String,
+}