about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/allocator.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-05-10 00:40:57 +0000
committerbors <bors@rust-lang.org>2022-05-10 00:40:57 +0000
commit362010d6be0e551fa35c6e0488abb18686b2add4 (patch)
treeac3d6255176d0d119485e26d9b878cb685243511 /compiler/rustc_codegen_llvm/src/allocator.rs
parentcb390735b03aa44229ff2858be8fedbd7b0ce7cb (diff)
parente947fad68cc7dce9285364984931dc1f286b9fa3 (diff)
downloadrust-362010d6be0e551fa35c6e0488abb18686b2add4.tar.gz
rust-362010d6be0e551fa35c6e0488abb18686b2add4.zip
Auto merge of #96715 - cjgillot:trait-alias-loop, r=compiler-errors
Fortify handing of where bounds on trait & trait alias definitions

Closes https://github.com/rust-lang/rust/issues/96664
Closes https://github.com/rust-lang/rust/issues/96665

Since https://github.com/rust-lang/rust/pull/93803, when listing all bounds and predicates we now need to account for the possible presence of predicates on any of the generic parameters.  Both bugs were hidden by the special handling of bounds at  the generic parameter declaration position.

Trait alias expansion used to confuse predicates on `Self` and where predicates.
Exiting too late when listing all the bounds caused a cycle error.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/allocator.rs')
0 files changed, 0 insertions, 0 deletions