]> git.lizzy.rs Git - rust.git/commit
Inline some hot lint pass functions.
authorNicholas Nethercote <n.nethercote@gmail.com>
Wed, 7 Dec 2022 03:52:28 +0000 (14:52 +1100)
committerNicholas Nethercote <n.nethercote@gmail.com>
Wed, 7 Dec 2022 08:29:31 +0000 (19:29 +1100)
commitb08fd6e8efec854d6a9c1a1486f04f8933e30795
tree8d8e6735821d4aa650c3e15556f59bb1f0f3bcf8
parentec117c0ebd6a47a2be6fc1e96b8ccc18f10a8c50
Inline some hot lint pass functions.

These each have a single call site, due to being called from a
"combined" lint pass.
compiler/rustc_lint/src/builtin.rs
compiler/rustc_lint/src/hidden_unicode_codepoints.rs
compiler/rustc_lint/src/unused.rs