Skip to content

Commit b4e3421

Browse files
committed
Be even more lenient with ParamSet
1 parent b4485be commit b4e3421

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_hir_analysis/src/check/wfcheck.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ where
149149
match ty.kind() {
150150
ty::Adt(def, _) => {
151151
let adt_did = with_no_trimmed_paths!(infcx.tcx.def_path_str(def.0.did));
152-
if adt_did == "bevy_ecs::system::ParamSet" {
152+
if adt_did.contains("ParamSet") {
153153
return Ok(());
154154
}
155155
}

0 commit comments

Comments
 (0)