Skip to content

Commit

Permalink
Be even more lenient with ParamSet
Browse files Browse the repository at this point in the history
  • Loading branch information
jackh726 committed Dec 3, 2023
1 parent b4485be commit b4e3421
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_hir_analysis/src/check/wfcheck.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ where
match ty.kind() {
ty::Adt(def, _) => {
let adt_did = with_no_trimmed_paths!(infcx.tcx.def_path_str(def.0.did));
if adt_did == "bevy_ecs::system::ParamSet" {
if adt_did.contains("ParamSet") {
return Ok(());
}
}
Expand Down

0 comments on commit b4e3421

Please sign in to comment.