]> git.lizzy.rs Git - rust.git/commit
Make constructors actually be const functions
authorMatthew Jasper <mjjasper1@gmail.com>
Sun, 26 May 2019 08:58:06 +0000 (09:58 +0100)
committerMatthew Jasper <mjjasper1@gmail.com>
Thu, 6 Jun 2019 16:20:06 +0000 (17:20 +0100)
commit0d75ab2293a106eb674ac01860910cfc1580837e
treebe914e8f7fae9fb4eb30f22f986e15635a5c74fc
parent6c9a018b60d1222217645ef4015764fd33b14a3f
Make constructors actually be const functions
src/librustc/ty/constness.rs
src/librustc_metadata/decoder.rs
src/libsyntax/feature_gate.rs
src/libsyntax_pos/symbol.rs
src/test/ui/consts/const_constructor/const-construct-call.rs [new file with mode: 0644]
src/test/ui/consts/const_constructor/feature-gate-const_constructor.const_fn.stderr [new file with mode: 0644]
src/test/ui/consts/const_constructor/feature-gate-const_constructor.min_const_fn.stderr [new file with mode: 0644]
src/test/ui/consts/const_constructor/feature-gate-const_constructor.rs [new file with mode: 0644]