diff options
| author | bors <bors@rust-lang.org> | 2022-10-10 06:34:58 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-10-10 06:34:58 +0000 |
| commit | 910c565b17b025c41dbefb41ac4a2d2ddd41339e (patch) | |
| tree | 92404c989206c715fc04257d5db8ccb5efef6c3e /compiler/rustc_llvm/llvm-wrapper/Linker.cpp | |
| parent | 61504c8d951c566eb03037dcb300c96f4bd9a8b6 (diff) | |
| parent | 1015a177d4a9f1c8ed853dee68dc2bf13e0cb02d (diff) | |
| download | rust-910c565b17b025c41dbefb41ac4a2d2ddd41339e.tar.gz rust-910c565b17b025c41dbefb41ac4a2d2ddd41339e.zip | |
Auto merge of #13376 - DropDemBits:strip-generic-bounds-and-defaults, r=Veykril
internal: Add `GenericParamList::to_generic_args` and `{TypeParam,ConstParam}::remove_default` APIs
Also fixes `generate_impl` not removing the default const param value, though it seems that no one has encountered or reported that issue yet 😅
This initially started out as refactoring `utils::generate_impl_text_inner` to understand it better (which was the reason for adding `{TypeParam,ConstParam}::remove_default`), but ended up also finding another place that needed `GenericParamList::to_generic_args`, hence its addition in here.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions
