mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 19:17:43 +00:00
![]() 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`. |
||
---|---|---|
.. | ||
rustc | ||
constructor.rs | ||
errors.rs | ||
lib.rs | ||
lints.rs | ||
pat_column.rs | ||
pat.rs | ||
rustc.rs | ||
usefulness.rs |