about summary refs log tree commit diff
path: root/compiler/rustc_lint
diff options
context:
space:
mode:
authorBoxy <rust@boxyuwu.dev>2025-04-24 11:31:33 +0100
committerBoxy <rust@boxyuwu.dev>2025-04-24 11:59:20 +0100
commitbdfeb8f36bb2716eb8f5aca32ba4f81563a6818b (patch)
tree4651a63fdf66bd493f20dc9beceab66973ab044a /compiler/rustc_lint
parent7f695232a80fa1833e2282f2577c5e1ff066bf39 (diff)
downloadrust-bdfeb8f36bb2716eb8f5aca32ba4f81563a6818b.tar.gz
rust-bdfeb8f36bb2716eb8f5aca32ba4f81563a6818b.zip
Remove `weak` alias terminology
Diffstat (limited to 'compiler/rustc_lint')
-rw-r--r--compiler/rustc_lint/src/types.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_lint/src/types.rs b/compiler/rustc_lint/src/types.rs
index a084dacfb5b..3b7c23a1fa3 100644
--- a/compiler/rustc_lint/src/types.rs
+++ b/compiler/rustc_lint/src/types.rs
@@ -1371,7 +1371,7 @@ impl<'a, 'tcx> ImproperCTypesVisitor<'a, 'tcx> {
             ty::UnsafeBinder(_) => todo!("FIXME(unsafe_binder)"),
 
             ty::Param(..)
-            | ty::Alias(ty::Projection | ty::Inherent | ty::Weak, ..)
+            | ty::Alias(ty::Projection | ty::Inherent | ty::Free, ..)
             | ty::Infer(..)
             | ty::Bound(..)
             | ty::Error(_)