Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
3e2c614
Fix invalid tag closing when leaving expansion "original code"
GuillaumeGomez Oct 28, 2025
8442380
Add regression test for #148184
GuillaumeGomez Oct 28, 2025
2fbb751
Un-shadow object bound candidate in `NormalizesTo` goal
adwinwhite Oct 30, 2025
e2ac9d9
Apply suggestions
adwinwhite Oct 31, 2025
e23c155
implement VecDeque extend_front and prepend, add tests
antonilol Sep 30, 2025
5b96677
add specialization for extend_front and prepend with copied slice ite…
antonilol Nov 3, 2025
d2cfc47
add test for alias self_ty
adwinwhite Nov 5, 2025
fd6466a
run-make tests: use edition 2024
hkBst Nov 5, 2025
55b0125
Add regression test for ice
chenyukang Nov 6, 2025
a9795db
Fix ICE from async closure variance
chenyukang Nov 6, 2025
702bf00
Fix suggestion for returning async closures
chenyukang Nov 6, 2025
c8b2a9a
rustdoc-search: remove broken index special case
notriddle Nov 6, 2025
cc733a5
Rollup merge of #146861 - antonilol:vec_deque_extend_front, r=joboet
matthiaskrgr Nov 6, 2025
01b0650
Rollup merge of #148213 - GuillaumeGomez:fix-exit-of-expansion, r=yot…
matthiaskrgr Nov 6, 2025
09a6aee
Rollup merge of #148292 - adwinwhite:assemble_object_candidate, r=lcnr
matthiaskrgr Nov 6, 2025
c778c4a
Rollup merge of #148528 - hkBst:run-make-tests-1, r=jieyouxu
matthiaskrgr Nov 6, 2025
e46403c
Rollup merge of #148554 - chenyukang:test-issue-148542, r=jieyouxu
matthiaskrgr Nov 6, 2025
41908fd
Rollup merge of #148556 - chenyukang:yukang-fix-148493-async-closure,…
matthiaskrgr Nov 6, 2025
426cef0
Rollup merge of #148561 - chenyukang:yukang-fix-148488, r=lqd
matthiaskrgr Nov 6, 2025
3fe4e4d
Rollup merge of #148563 - notriddle:index-typedata-bug, r=GuillaumeGomez
matthiaskrgr Nov 6, 2025
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add test for alias self_ty
  • Loading branch information
adwinwhite committed Nov 5, 2025
commit d2cfc47ed07497d8b8e37d17b136937a8af47723
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,21 @@ where
x
}

trait Id<'a> {
type This: ?Sized;
}
impl<T: ?Sized> Id<'_> for T {
type This = T;
}

// Ensure that we properly normalize alias self_ty before evaluating the goal.
fn alias_foo<T>(x: for<'a> fn(
<<dyn Trait<Assoc = T> as Id<'a>>::This as Trait>::Assoc
)) -> fn(T)
where
dyn Trait<Assoc = T>: Trait,
{
x
}

fn main() {}
Loading