mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-21 22:34:05 +00:00
8207d89b5e
Use `Enabled{Lang,Lib}Feature` instead of n-tuples Instead of passing around e.g. `(gate_name, attr_span, stable_since)` 3-tuples for enabled lang features or `(gate_name, attr_span)` 2-tuples for enabled lib features, use `Enabled{Lang,Lib}Feature` structs with named fields. Also did some minor code-golfing of involved iterator chains to hopefully make them easier to follow. Follow-up to https://github.com/rust-lang/rust/pull/132098#issuecomment-2434523431 cc `@RalfJung.` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |