]> git.lizzy.rs Git - rust.git/commit - src/tools/clippy
Auto merge of #67260 - TheSamsa:const-limit, r=oli-obk
authorbors <bors@rust-lang.org>
Thu, 5 Mar 2020 17:46:58 +0000 (17:46 +0000)
committerbors <bors@rust-lang.org>
Thu, 5 Mar 2020 17:46:58 +0000 (17:46 +0000)
commit96bb8b31c81dc2394317f2f083c3acf8087efea1
tree88176218be713c7786c332a5ab3d7980322c764c
parentc79f5f064725535f7520e693e69c65c3d0f2730f
parent527456e219d1d898eee53b2d0e29cdb296c7bab8
Auto merge of #67260 - TheSamsa:const-limit, r=oli-obk

const limit for CTFE

I tried to tackle the first steps for this issue.
The active feature flag does link to the issue below, I think this has to change, because there should be a tracking issue?
https://github.com/TheSamsa/rust/blob/1679a7647da0de672bac26b716db82d16f3896a8/src/librustc_feature/active.rs#L530

Also, I only put up the storage of the limit like "recursion_limit" but created a seperate file in the same place. Since I guess the invocation happens seperately.
https://github.com/TheSamsa/rust/blob/const-limit/src/librustc/middle/const_limit.rs

If this does not hold up for the issue and since there is a time pressure, just reject it.

hopefully this does not put more load on you than I expected...