about summary refs log tree commit diff
path: root/compiler/rustc_privacy/src/lib.rs
diff options
context:
space:
mode:
authorlcnr <rust@lcnr.de>2025-04-26 01:54:09 +0000
committerlcnr <rust@lcnr.de>2025-04-26 02:05:31 +0000
commit855035b03860b00b6f8239e31beec0d3cb882db6 (patch)
tree043abebe24437559bcc9ca5e931bb8113451ada4 /compiler/rustc_privacy/src/lib.rs
parente3e432d4d65a55e6db167598e96db2bcb163e316 (diff)
downloadrust-855035b03860b00b6f8239e31beec0d3cb882db6.tar.gz
rust-855035b03860b00b6f8239e31beec0d3cb882db6.zip
convert some `GenericArg` to `Term`
Diffstat (limited to 'compiler/rustc_privacy/src/lib.rs')
-rw-r--r--compiler/rustc_privacy/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_privacy/src/lib.rs b/compiler/rustc_privacy/src/lib.rs
index 0bde289c85f..b56f3e1971c 100644
--- a/compiler/rustc_privacy/src/lib.rs
+++ b/compiler/rustc_privacy/src/lib.rs
@@ -157,7 +157,7 @@ where
                 ty.visit_with(self)
             }
             ty::ClauseKind::ConstEvaluatable(ct) => ct.visit_with(self),
-            ty::ClauseKind::WellFormed(arg) => arg.visit_with(self),
+            ty::ClauseKind::WellFormed(term) => term.visit_with(self),
         }
     }