Auto merge of #94751 - Dylan-DPC:rollup-zr7viw0, r=Dylan-DPC
Rollup of 5 pull requests Successful merges: - #94689 (Use impl substs in `#[rustc_on_unimplemented]`) - #94714 (Enable `close_read_wakes_up` test on Windows) - #94723 (Add core::hint::must_use) - #94724 (unix: Avoid name conversions in `remove_dir_all_recursive`) - #94730 (Reverted atomic_mut_ptr feature removal causing compilation break) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
This commit is contained in:
commit
803a759304
14 changed files with 262 additions and 53 deletions
|
@ -977,7 +977,6 @@ impl<'tcx> TraitRef<'tcx> {
|
|||
substs: SubstsRef<'tcx>,
|
||||
) -> ty::TraitRef<'tcx> {
|
||||
let defs = tcx.generics_of(trait_id);
|
||||
|
||||
ty::TraitRef { def_id: trait_id, substs: tcx.intern_substs(&substs[..defs.params.len()]) }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue