about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2022-11-13 13:02:52 +0100
committerNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2022-11-19 20:07:18 +0100
commit4e9ceef76d9daa33ebc936d46b955d00751fd21d (patch)
tree252768f211cfaecc9e0461717f243c6a71bec011 /compiler/rustc_codegen_gcc
parent62c627c7a3a9b3e193a5ae6e1ec7348bc5136301 (diff)
downloadrust-4e9ceef76d9daa33ebc936d46b955d00751fd21d.tar.gz
rust-4e9ceef76d9daa33ebc936d46b955d00751fd21d.zip
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.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions