diff options
| author | bors <bors@rust-lang.org> | 2022-01-24 08:05:37 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-01-24 08:05:37 +0000 |
| commit | ef119d704d87a05435ea97ef4161529142313a9b (patch) | |
| tree | 79f04c5b12b95c3b6bab52e108640bf8d131e12b /compiler/rustc_codegen_gcc/src | |
| parent | 42313dd29b3edb0ab453a0d43d12876ec7e48ce0 (diff) | |
| parent | b7e443397471062e5681ecefb6638577cefb9571 (diff) | |
| download | rust-ef119d704d87a05435ea97ef4161529142313a9b.tar.gz rust-ef119d704d87a05435ea97ef4161529142313a9b.zip | |
Auto merge of #93028 - compiler-errors:const_drop_bounds, r=fee1-dead
Check `const Drop` impls considering `~const` Bounds This PR adds logic to trait selection to account for `~const` bounds in custom `impl const Drop` for types, elaborates the `const Drop` check in `rustc_const_eval` to check those bounds, and steals some drop linting fixes from #92922, thanks `@DrMeepster.` r? `@fee1-dead` `@oli-obk` <sup>(edit: guess I can't request review from two people, lol)</sup> since each of you wrote and reviewed #88558, respectively. Since the logic here is more complicated than what existed, it's possible that this is a perf regression. But it works correctly with tests, and that makes me happy. Fixes #92881
Diffstat (limited to 'compiler/rustc_codegen_gcc/src')
0 files changed, 0 insertions, 0 deletions
