From 0d75ab2293a106eb674ac01860910cfc1580837e Mon Sep 17 00:00:00 2001 From: Matthew Jasper Date: Sun, 26 May 2019 09:58:06 +0100 Subject: Make constructors actually be const functions --- src/libsyntax/feature_gate.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/libsyntax') diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index 4a95b6f69a1..0043b8a1c47 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -560,6 +560,10 @@ declare_features! ( // Allows the user of associated type bounds. (active, associated_type_bounds, "1.34.0", Some(52662), None), + // Allows calling constructor functions in `const fn` + // FIXME Create issue + (active, const_constructor, "1.37.0", Some(61456), None), + // ------------------------------------------------------------------------- // feature-group-end: actual feature gates // ------------------------------------------------------------------------- -- cgit 1.4.1-3-g733a5