Skip to content

Rollup of 10 pull requests #107134

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 29 commits into from
Closed
Changes from 2 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
dbc0ed2
Unify stable and unstable sort implementations in same core module
Voultapher Nov 20, 2022
1ec59cd
Remove debug unused
Voultapher Nov 21, 2022
4b5844f
Document all unsafe blocks
Voultapher Nov 21, 2022
0368adb
Fix #107090, fix missing arguments for fluent
chenyukang Jan 18, 2023
81efdab
add tests for 107090
chenyukang Jan 18, 2023
280f69d
Fix IndexVec::drain_enumerated
compiler-errors Jan 19, 2023
c9c8e29
HACK: self ty ambiguity hack
compiler-errors Jan 19, 2023
ac4956b
Support `.comment` section like GCC/Clang (`!llvm.ident`)
ojeda May 28, 2022
aee75f2
Assert goal is fully normalized during assemble
compiler-errors Jan 19, 2023
f53f5b4
swap Ambiguity and Unimplemented in new trait engine
compiler-errors Jan 19, 2023
69890b2
trait solver: PointerSized
compiler-errors Jan 18, 2023
ed6aebb
trait solver: Implement Fn traits and tuple trait
compiler-errors Jan 19, 2023
d3cfe97
Custom MIR: Support binary and unary operations
tmiasko Jan 19, 2023
05889fc
rustdoc: remove redundant CSS selector `.sidebar .current`
notriddle Jan 19, 2023
1adb4d6
Fix typo in opaque_types.rs
eltociear Jan 20, 2023
ec3da87
Add note about absolute paths to Path::join
Erk- Jan 20, 2023
d8f8adf
add example of joining with a absolute path
Erk- Jan 20, 2023
a641b92
remove leading comma when there are no args in check macro expansion
DebugSteven Jan 19, 2023
112d85c
rustdoc: use CSS inline layout for radio line instead of flexbox
notriddle Jan 20, 2023
ea8a33b
Rollup merge of #97550 - ojeda:comment-section, r=bjorn3
matthiaskrgr Jan 20, 2023
8eb9542
Rollup merge of #104672 - Voultapher:unify-sort-modules, r=thomcc
matthiaskrgr Jan 20, 2023
9e8edd7
Rollup merge of #107061 - compiler-errors:new-solver-new-candidates-3…
matthiaskrgr Jan 20, 2023
2ce10bf
Rollup merge of #107085 - tmiasko:custom-mir-operators, r=oli-obk
matthiaskrgr Jan 20, 2023
0e24b97
Rollup merge of #107095 - notriddle:notriddle/sidebar-current, r=Guil…
matthiaskrgr Jan 20, 2023
0275e77
Rollup merge of #107111 - chenyukang:yukang/fix-107090-fluent-paramet…
matthiaskrgr Jan 20, 2023
76339c9
Rollup merge of #107112 - eltociear:patch-19, r=albertlarsan68
matthiaskrgr Jan 20, 2023
52b2ea6
Rollup merge of #107114 - Erk-:add-absolute-note-to-path-join, r=m-ou-se
matthiaskrgr Jan 20, 2023
2d2e629
Rollup merge of #107124 - DebugSteven:check-macro-expansion, r=albert…
matthiaskrgr Jan 20, 2023
4a914c6
Rollup merge of #107131 - notriddle:notriddle/rustdoc-radio-display-i…
matthiaskrgr Jan 20, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions compiler/rustc_infer/src/infer/opaque_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ where
}

ty::Alias(ty::Opaque, ty::AliasTy { def_id, ref substs, .. }) => {
// Skip lifetime paramters that are not captures.
// Skip lifetime parameters that are not captures.
let variances = self.tcx.variances_of(*def_id);

for (v, s) in std::iter::zip(variances, substs.iter()) {
Expand All @@ -492,7 +492,7 @@ where
ty::Alias(ty::Projection, proj)
if self.tcx.def_kind(proj.def_id) == DefKind::ImplTraitPlaceholder =>
{
// Skip lifetime paramters that are not captures.
// Skip lifetime parameters that are not captures.
let variances = self.tcx.variances_of(proj.def_id);

for (v, s) in std::iter::zip(variances, proj.substs.iter()) {
Expand Down