rust/compiler/rustc_pattern_analysis/src
Nicholas Nethercote b023671ce2 Add pattern_complexity_limit to Limits.
It's similar to the other limits, e.g. obtained via `get_limit`. So it
makes sense to handle it consistently with the other limits. We now use
`Limit`/`usize` in most places instead of `Option<usize>`, so we use
`Limit::new(usize::MAX)`/`usize::MAX` to emulate how `None` used to work.

The commit also adds `Limit::unlimited`.
2025-02-17 09:30:33 +11:00
..
rustc compiler: Add rustc_abi dependence to the compiler 2024-10-27 21:10:58 -07:00
constructor.rs rename BitSet to DenseBitSet 2025-01-11 11:34:01 +00:00
errors.rs Encapsulate the printing of WitnessPat 2024-07-29 14:56:50 +10:00
lib.rs Add warn(unreachable_pub) to rustc_pattern_analysis. 2024-08-29 20:18:44 +10:00
lints.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
pat_column.rs Rename TypeCx -> PatCx 2024-03-13 13:56:38 +01:00
pat.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
rustc.rs Add pattern_complexity_limit to Limits. 2025-02-17 09:30:33 +11:00
usefulness.rs Add pattern_complexity_limit to Limits. 2025-02-17 09:30:33 +11:00