about summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src/errors.rs
diff options
context:
space:
mode:
authorlcnr <rust@lcnr.de>2025-04-11 12:04:48 +0200
committerlcnr <rust@lcnr.de>2025-04-11 15:18:30 +0200
commit5d0048303c98ad5226cd84f2132d21be3c6171c0 (patch)
tree41cafe64dce3dc64b3b3f6a589e021a5fc60b239 /compiler/rustc_trait_selection/src/errors.rs
parent83033838a3d1f6ae073c5e8855452e9d0a201eed (diff)
downloadrust-5d0048303c98ad5226cd84f2132d21be3c6171c0.tar.gz
rust-5d0048303c98ad5226cd84f2132d21be3c6171c0.zip
`NonGenericOpaqueTypeParam::ty` to `arg`
Diffstat (limited to 'compiler/rustc_trait_selection/src/errors.rs')
-rw-r--r--compiler/rustc_trait_selection/src/errors.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_trait_selection/src/errors.rs b/compiler/rustc_trait_selection/src/errors.rs
index bb4aba9d29e..4e5581fb1da 100644
--- a/compiler/rustc_trait_selection/src/errors.rs
+++ b/compiler/rustc_trait_selection/src/errors.rs
@@ -1926,7 +1926,7 @@ impl Subdiagnostic for AddPreciseCapturingForOvercapture {
 #[derive(Diagnostic)]
 #[diag(trait_selection_opaque_type_non_generic_param, code = E0792)]
 pub(crate) struct NonGenericOpaqueTypeParam<'a, 'tcx> {
-    pub ty: GenericArg<'tcx>,
+    pub arg: GenericArg<'tcx>,
     pub kind: &'a str,
     #[primary_span]
     pub span: Span,