mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-11-21 22:34:34 +00:00
Use skip_binder
in favor of subst_identity
Co-authored-by: Eduard-Mihai Burtescu <eddyb@lyken.rs>
This commit is contained in:
parent
4c374068d3
commit
b1670298e9
@ -143,7 +143,7 @@ fn is_blocklisted_fn<'tcx>(
|
||||
ty::ImplContainer => {
|
||||
let impl_def_id = assoc.container_id(tcx);
|
||||
tcx.impl_trait_ref(impl_def_id)
|
||||
.map(|tr| tr.subst_identity().def_id)
|
||||
.map(|tr| tr.skip_binder().def_id)
|
||||
== Some(debug_trait_def_id)
|
||||
}
|
||||
ty::TraitContainer => false,
|
||||
|
Loading…
Reference in New Issue
Block a user