about summary refs log tree commit diff
path: root/compiler/rustc_ast_lowering/src/delegation.rs
AgeCommit message (Collapse)AuthorLines
2024-05-17Rename Unsafe to SafetySantiago Pastorino-2/+2
2024-04-23delegation: Support async, const, extern "ABI" and C-variadic functionsVadim Petrochenkov-41/+76
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.
2024-04-17Rename `BindingAnnotation` to `BindingMode`Jules Bertholet-1/+1
2024-03-22Update (doc) commentsLeón Orell Valerian Liehr-3/+4
Several (doc) comments were super outdated or didn't provide enough context. Some doc comments shoved everything in a single paragraph without respecting the fact that the first paragraph should be a single sentence because rustdoc treats these as item descriptions / synopses on module pages.
2024-02-27Refactor `LoweringContext::get_delegation_sig_id`.Nicholas Nethercote-6/+2
I find the function much easier to read this way. Thanks to @kadiwa4 for the suggestion.
2024-02-23compiler: clippy::complexity fixesMatthias Krüger-1/+1
2024-02-07No need to take ImplTraitContext by refMichael Goulet-1/+1
2024-01-12Delegation implementation: step 1Bryanskiy-0/+348