about summary refs log tree commit diff
path: root/compiler/rustc_query_impl/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-07-30 12:05:48 +0000
committerbors <bors@rust-lang.org>2021-07-30 12:05:48 +0000
commit87dc8242484110c75596a91ebd2043a476c09839 (patch)
tree00eb86f03f25d8707dd1784052d813dcc4cb0803 /compiler/rustc_query_impl/src
parent1195bea5a7b73e079fa14b37ac7e375fc77d368a (diff)
parentc5a29f92450c5d1191754000d37611af5e19f38b (diff)
downloadrust-87dc8242484110c75596a91ebd2043a476c09839.tar.gz
rust-87dc8242484110c75596a91ebd2043a476c09839.zip
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)
Diffstat (limited to 'compiler/rustc_query_impl/src')
0 files changed, 0 insertions, 0 deletions