Uh oh!
There was an error while loading. Please reload this page.
delegation: Support renaming, and async, const, extern "ABI" and C-variadic functions - #122500
Conversation
rustbot
commented
Mar 14, 2024
compiler-errors
commented
Mar 14, 2024
Yeah, that sounds right. It doesn't really matter because a new body can't be provided anyways. |
This comment was marked as resolved.
This comment was marked as resolved.
workingjubilee
commented
Mar 22, 2024
pour one out for astconv. @rustbot author |
rustbot
commented
Mar 25, 2024
HIR ty lowering was modified cc @fmease |
petrochenkov
commented
Mar 25, 2024
@workingjubilee |
This comment was marked as resolved.
This comment was marked as resolved.
petrochenkov
commented
Apr 4, 2024
ping @estebank, it's been 3 weeks. |
fmease
commented
Apr 4, 2024
I could review this within the next two days. |
Uh oh!
There was an error while loading. Please reload this page.
| @@ -4712,12 +4713,13 @@ struct ItemInfoCollector<'a, 'b, 'tcx> { | |||
| impl ItemInfoCollector<'_, '_, '_> { | |||
There was a problem hiding this comment.
(preexisting) The name of ItemInfoCollector is pretty nondescript considering that it's fn_delegation-specific. I feel like we should make that more clear. Not blocking.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Also allow `impl Trait` in delegated functions. The delegation item will refer to the original opaque type from the callee, fresh opaque type won't be created.
petrochenkov
commented
Apr 23, 2024
@bors r=fmease |
bors
commented
Apr 23, 2024
delegation: Support renaming, and async, const, extern "ABI" and C-variadic functions Also allow delegating to functions with opaque types (`impl Trait`). The delegation item will refer to the original opaque type from the callee, fresh opaque type won't be created, which seems like a reasonable behavior. (Such delegation items will cause query cycles when used in trait impls, but it can be fixed later.) Part of rust-lang#118212.
Rollup of 6 pull requests Successful merges: - rust-lang#122500 (delegation: Support renaming, and async, const, extern "ABI" and C-variadic functions) - rust-lang#123316 (Test `#[unix_sigpipe = "inherit"]` with both `SIG_DFL` and `SIG_IGN`) - rust-lang#124136 (Provide more context and suggestions in borrowck errors involving closures) - rust-lang#124280 (Port repr128-dwarf run-make test to rmake) - rust-lang#124282 (windows fill_utf16_buf: explain the expected return value) - rust-lang#124308 (Add diagnostic item for `std::iter::Enumerate`) r? `@ghost` `@rustbot` modify labels: rollup
delegation: Support renaming, and async, const, extern "ABI" and C-variadic functions Also allow delegating to functions with opaque types (`impl Trait`). The delegation item will refer to the original opaque type from the callee, fresh opaque type won't be created, which seems like a reasonable behavior. (Such delegation items will cause query cycles when used in trait impls, but it can be fixed later.) Part of rust-lang#118212.
Rollup of 5 pull requests Successful merges: - rust-lang#122500 (delegation: Support renaming, and async, const, extern "ABI" and C-variadic functions) - rust-lang#123316 (Test `#[unix_sigpipe = "inherit"]` with both `SIG_DFL` and `SIG_IGN`) - rust-lang#123794 (More DefineOpaqueTypes::Yes) - rust-lang#124282 (windows fill_utf16_buf: explain the expected return value) - rust-lang#124308 (Add diagnostic item for `std::iter::Enumerate`) Failed merges: - rust-lang#124136 (Provide more context and suggestions in borrowck errors involving closures) r? `@ghost` `@rustbot` modify labels: rollup
bors
commented
Apr 24, 2024
bors
commented
Apr 24, 2024
☀️ Test successful - checks-actions |
rust-timer
commented
Apr 24, 2024
Finished benchmarking commit (5557f8c): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 672.79s -> 674.062s (0.19%) |
Also allow delegating to functions with opaque types (
impl Trait).The delegation item will refer to the original opaque type from the callee, fresh opaque type won't be created, which seems like a reasonable behavior.
(Such delegation items will cause query cycles when used in trait impls, but it can be fixed later.)
Part of #118212.