rust/compiler/rustc_lint
Manish Goregaokar a673364c54
Rollup merge of #104359 - Nilstrieb:plus-one, r=fee1-dead
Refactor must_use lint into two parts

Before, the lint did the checking for `must_use` and pretty printing the types in a special format in one pass, causing quite complex and untranslatable code.
Now the collection and printing is split in two. That should also make it easier to translate or extract the type pretty printing in the future.

Also fixes an integer overflow in the array length pluralization
calculation.

fixes #104352
2022-11-22 22:54:39 -05:00
..
src Rollup merge of #104359 - Nilstrieb:plus-one, r=fee1-dead 2022-11-22 22:54:39 -05:00
Cargo.toml Update unicode-rs crates to Unicode 15 2022-09-17 01:55:56 +08:00