rust/compiler/rustc_mir/src
ecstatic-morse 60b99015e9
Rollup merge of #76807 - ecstatic-morse:const-checking-staged-api, r=oli-obk
Use const-checking to forbid use of unstable features in const-stable functions

First step towards #76618.

Currently this code isn't ever hit because `qualify_min_const_fn` runs first and catches pretty much everything. One exception is `const_precise_live_drops`, which does not use the newly added code since it runs as part of a separate pass.

Also contains some unrelated refactoring, which is split into separate commits.

r? @oli-obk
2020-09-21 20:40:53 -07:00
..
borrow_check Rollup merge of #76890 - matthiaskrgr:matches_simpl, r=lcnr 2020-09-20 15:52:01 +02:00
const_eval Reflect the "do not call this query directly" mentality in its name 2020-09-19 10:57:14 +02:00
dataflow Rollup merge of #76818 - hbina:dont_compile_regex_all_the_time, r=ecstatic-morse 2020-09-20 12:08:20 +02:00
interpret Rollup merge of #76581 - lcnr:bound-too-generic, r=eddyb 2020-09-21 20:40:47 -07:00
monomorphize Let user see the full type of type-length limit error 2020-09-21 00:39:58 +01:00
transform Rollup merge of #76807 - ecstatic-morse:const-checking-staged-api, r=oli-obk 2020-09-21 20:40:53 -07:00
util Stop using the const_eval query for initializers of statics 2020-09-19 10:36:36 +02:00
lib.rs Auto merge of #76964 - RalfJung:rollup-ybn06fs, r=RalfJung 2020-09-20 11:02:36 +00:00
shim.rs Auto merge of #75346 - davidtwco:issue-69925-polymorphic-instancedef-fnptrshim, r=nikomatsakis 2020-09-20 04:15:43 +00:00