Skip to content

Commit

Permalink
Auto merge of #122500 - petrochenkov:deleg, r=fmease
Browse files Browse the repository at this point in the history
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/rust#118212.
  • Loading branch information
bors committed Apr 24, 2024
2 parents 86b2568 + c9e356a commit a6d2f19
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit a6d2f19

Please sign in to comment.