about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2022-11-22 22:54:39 -0500
committerGitHub <noreply@github.com>2022-11-22 22:54:39 -0500
commita673364c543986789cfbb844c925063519fb872a (patch)
treee415aab5fcdb63a6203d00cb235f23e71b743352 /compiler/rustc_codegen_gcc
parent53eab246db86d0b2a0e664196dcd434746724e8b (diff)
parent4e9ceef76d9daa33ebc936d46b955d00751fd21d (diff)
downloadrust-a673364c543986789cfbb844c925063519fb872a.tar.gz
rust-a673364c543986789cfbb844c925063519fb872a.zip
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
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions