diff options
| author | Matthew Jasper <mjjasper1@gmail.com> | 2019-05-26 09:58:06 +0100 |
|---|---|---|
| committer | Matthew Jasper <mjjasper1@gmail.com> | 2019-06-06 17:20:06 +0100 |
| commit | 0d75ab2293a106eb674ac01860910cfc1580837e (patch) | |
| tree | be914e8f7fae9fb4eb30f22f986e15635a5c74fc /src/libsyntax | |
| parent | 6c9a018b60d1222217645ef4015764fd33b14a3f (diff) | |
| download | rust-0d75ab2293a106eb674ac01860910cfc1580837e.tar.gz rust-0d75ab2293a106eb674ac01860910cfc1580837e.zip | |
Make constructors actually be const functions
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/feature_gate.rs | 4 |
1 files changed, 4 insertions, 0 deletions
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 // ------------------------------------------------------------------------- |
