rust/compiler/rustc_borrowck/src
Bryan Garza 360db516cc Create stable metric to measure long computation in Const Eval
This patch adds a `MirPass` that tracks the number of back-edges and
function calls in the CFG, adds a new MIR instruction to increment a
counter every time they are encountered during Const Eval, and emit a
warning if a configured limit is breached.
2023-01-23 23:56:22 +00:00
..
constraints Auto merge of #105880 - Nilstrieb:make-newtypes-less-not-rust, r=oli-obk 2022-12-20 07:27:01 +00:00
diagnostics Auto merge of #106976 - tmiasko:borrowck-lazy-dominators, r=cjgillot 2023-01-21 11:02:29 +00:00
region_infer Auto merge of #106503 - cjgillot:remap-nofilter, r=oli-obk 2023-01-18 16:37:33 +00:00
type_check Create stable metric to measure long computation in Const Eval 2023-01-23 23:56:22 +00:00
borrow_set.rs rustc_borrowck: remove ref patterns 2022-12-06 14:45:58 +00:00
borrowck_errors.rs Detect closures assigned to binding in block 2023-01-05 21:29:36 +00:00
constraint_generation.rs lint auto pass 2022-11-09 20:42:16 +08:00
consumers.rs Change src/test to tests in source files, fix tidy and tests 2023-01-11 09:32:13 +00:00
dataflow.rs Create stable metric to measure long computation in Const Eval 2023-01-23 23:56:22 +00:00
def_use.rs lint auto pass 2022-11-09 20:42:16 +08:00
facts.rs Use fmt named parameters in rustc_borrowck 2023-01-06 19:34:45 -05:00
invalidation.rs Create stable metric to measure long computation in Const Eval 2023-01-23 23:56:22 +00:00
lib.rs Create stable metric to measure long computation in Const Eval 2023-01-23 23:56:22 +00:00
location.rs A few small cleanups for newtype_index 2022-12-18 21:47:28 +01:00
member_constraints.rs Remove double spaces after dots in comments 2023-01-17 08:09:33 +00:00
nll.rs Remove double spaces after dots in comments 2023-01-17 08:09:33 +00:00
path_utils.rs lint auto pass 2022-11-09 20:42:16 +08:00
place_ext.rs Remove double spaces after dots in comments 2023-01-17 08:09:33 +00:00
places_conflict.rs Removed various double spaces in compiler source comments. 2023-01-14 17:34:59 +01:00
prefixes.rs lint auto pass 2022-11-09 20:42:16 +08:00
renumber.rs lint auto pass 2022-11-09 20:42:16 +08:00
session_diagnostics.rs Improve a TAIT error and add an error code plus documentation 2023-01-16 16:54:14 +00:00
universal_regions.rs Update universal_regions.rs 2023-01-22 07:38:02 -05:00
used_muts.rs lint auto pass 2022-11-09 20:42:16 +08:00