]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #9169 - Alexendoo:message-convention-regex, r=flip1995
authorbors <bors@rust-lang.org>
Wed, 13 Jul 2022 14:27:44 +0000 (14:27 +0000)
committerbors <bors@rust-lang.org>
Wed, 13 Jul 2022 14:27:44 +0000 (14:27 +0000)
Use `LazyLock` for `lint_message_convention` regexes

They were being recompiled for `Message::new` call, for me this shaves 7s off the time it takes to run the test. Also removes a redundant exception from the list and joins the various `message...` exceptions into one

changelog: none


Trivial merge