rust/compiler/rustc_const_eval/src
bors 23f93a1266 Auto merge of #103877 - oli-obk:const_eval_step_limit, r=fee1-dead
Replace const eval limit by a lint and add an exponential backoff warning

The lint triggers at the first power of 2 that comes after 1 million function calls or traversed back-edges (takes less than a second on usual programs). After the first emission, an unsilenceable warning is repeated at every following power of 2 terminators, causing it to get reported less and less the longer the evaluation runs.

cc `@rust-lang/wg-const-eval`

fixes #93481
closes #67217
2023-06-01 05:32:00 +00:00
..
const_eval Auto merge of #103877 - oli-obk:const_eval_step_limit, r=fee1-dead 2023-06-01 05:32:00 +00:00
interpret Auto merge of #103877 - oli-obk:const_eval_step_limit, r=fee1-dead 2023-06-01 05:32:00 +00:00
transform unique borrows are mutating uses 2023-05-29 17:15:48 +02:00
util Remove const eval limit and implement an exponential backoff lint instead 2023-05-31 10:24:17 +00:00
errors.rs Remove const eval limit and implement an exponential backoff lint instead 2023-05-31 10:24:17 +00:00
lib.rs Remove deref_mir_constant 2023-05-31 14:07:15 +00:00