Skip to content

Commit 8ba4bfc

Browse files
committed
Add an experimental feature gate for function delegation
In accordance with the [process](https://github.com/rust-lang/lang-team/blob/master/src/how_to/experiment.md). Detailed description of the feature can be found in the RFC repo - rust-lang/rfcs#3530. TODO: find a lang team lang-team liaison.
1 parent 1be1e84 commit 8ba4bfc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compiler/rustc_feature/src/unstable.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,8 @@ declare_features! (
456456
(unstable, ffi_returns_twice, "1.34.0", Some(58314), None),
457457
/// Allows using `#[repr(align(...))]` on function items
458458
(unstable, fn_align, "1.53.0", Some(82232), None),
459+
/// Support delegating implementation of functions to other already implemented functions.
460+
(incomplete, fn_delegation, CURRENT_RUSTC_VERSION, None /*FIXME*/, None),
459461
/// Allows defining gen blocks and `gen fn`.
460462
(unstable, gen_blocks, "1.75.0", Some(117078), None),
461463
/// Infer generic args for both consts and types.

0 commit comments

Comments
 (0)