rust/compiler/rustc_feature
bors 87dc824248 Auto merge of #87237 - jonas-schievink:const-for-and-try, r=oli-obk
Add feature gates for `for` and `?` in consts

These operations seems *relatively* straightforward to support, and only seem to be blocked on `impl const Trait`.

I have included a working test for `const_try`, but `const_for` is currently unusable without reimplementing *every single* defaulted `Iterator` method, so I didn't do that.

(both features still need tracking issues before this is merged)
2021-07-30 12:05:48 +00:00
..
src Auto merge of #87237 - jonas-schievink:const-for-and-try, r=oli-obk 2021-07-30 12:05:48 +00:00
Cargo.toml feature: replace lazy_static by SyncLazy from std 2020-09-01 22:06:47 +01:00