Skip to content

Commit 5b52d19

Browse files
committed
RFC 2027: Add object_safe_for_dispatch feature gate
1 parent 8bf1f1c commit 5b52d19

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/libsyntax/feature_gate.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,9 @@ declare_features! (
474474

475475
// Allows the use of C-variadics
476476
(active, c_variadic, "1.34.0", Some(44930), None),
477+
478+
// Non-object safe trait objects safe to use but cannot be created in safe rust
479+
(active, object_safe_for_dispatch, "1.34.0", Some(43561), None),
477480
);
478481

479482
declare_features! (

0 commit comments

Comments
 (0)