rust/compiler/rustc_middle
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
Cargo.toml Removed dependency on the field-offset crate. 2025-02-05 17:56:06 +01:00
messages.ftl compiler: Make middle errors pub(crate) and bury some dead code 2025-02-11 21:57:05 -08:00
README.md

For more information about how rustc works, see the rustc dev guide.