rust/compiler/rustc_session
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 bumpt compiler and tools to windows 0.59 2025-01-21 16:48:44 +03:00
messages.ftl Reject macro calls inside of #![crate_name] 2025-02-15 16:47:30 +01:00