rust/compiler/rustc_pattern_analysis
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
..
src Add pattern_complexity_limit to Limits. 2025-02-17 09:30:33 +11:00
tests Add pattern_complexity_limit to Limits. 2025-02-17 09:30:33 +11:00
Cargo.toml compiler: Remove unused rustc_target from Cargo.tomls 2024-11-03 13:38:47 -08:00
messages.ftl Lint small gaps between ranges 2024-03-09 01:14:22 +01:00