Auto merge of #110546 - matthiaskrgr:rollup-346kik6, r=matthiaskrgr
Rollup of 10 pull requests Successful merges: - #110123 ('./configure' now checks if 'config.toml' exists before writing to that destination) - #110429 (Spelling src bootstrap) - #110430 (Spelling src ci) - #110515 (Don't special-case download-rustc in `maybe_install_llvm`) - #110521 (Fix `x test lint-docs linkchecker` when download-rustc is enabled) - #110525 (Fix `tests/run-make-translation` when download-rustc is enabled) - #110531 (small type system cleanup) - #110533 (Missing blanket impl trait not public) - #110540 (Fix wrong comment in rustc_hir/src/hir.rs) - #110541 (Fix various configure bugs) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
This commit is contained in:
commit
9c51cf7e7f
26 changed files with 113 additions and 86 deletions
|
@ -178,7 +178,7 @@ impl FlagComputation {
|
|||
|
||||
&ty::Alias(ty::Projection, data) => {
|
||||
self.add_flags(TypeFlags::HAS_TY_PROJECTION);
|
||||
self.add_projection_ty(data);
|
||||
self.add_alias_ty(data);
|
||||
}
|
||||
|
||||
&ty::Alias(ty::Opaque, ty::AliasTy { substs, .. }) => {
|
||||
|
@ -267,7 +267,7 @@ impl FlagComputation {
|
|||
projection_ty,
|
||||
term,
|
||||
})) => {
|
||||
self.add_projection_ty(projection_ty);
|
||||
self.add_alias_ty(projection_ty);
|
||||
self.add_term(term);
|
||||
}
|
||||
ty::PredicateKind::WellFormed(arg) => {
|
||||
|
@ -372,8 +372,8 @@ impl FlagComputation {
|
|||
}
|
||||
}
|
||||
|
||||
fn add_projection_ty(&mut self, projection_ty: ty::AliasTy<'_>) {
|
||||
self.add_substs(projection_ty.substs);
|
||||
fn add_alias_ty(&mut self, alias_ty: ty::AliasTy<'_>) {
|
||||
self.add_substs(alias_ty.substs);
|
||||
}
|
||||
|
||||
fn add_substs(&mut self, substs: &[GenericArg<'_>]) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue