granite-rust/compiler/rustc_feature/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
..
accepted.rs Swap out CURRENT_RUSTC_VERSION to 1.71.0 2023-05-30 07:54:29 -04:00
active.rs Auto merge of #103877 - oli-obk:const_eval_step_limit, r=fee1-dead 2023-06-01 05:32:00 +00:00
builtin_attrs.rs Remove const eval limit and implement an exponential backoff lint instead 2023-05-31 10:24:17 +00:00
lib.rs Use is_some_and/is_ok_and in less obvious spots 2023-05-24 14:33:43 +00:00
removed.rs Remove const eval limit and implement an exponential backoff lint instead 2023-05-31 10:24:17 +00:00
tests.rs tidy: Re-enable check for inline unit tests 2020-12-12 19:18:44 +03:00