Rollup merge of #137101 - GrigorenkoPV:str-inherent-lint, r=Urgau

`invalid_from_utf8[_unchecked]`: also lint inherent methods

Addressing https://github.com/rust-lang/rust/issues/131114#issuecomment-2646663535

Also corrected a typo: "_an_ invalid literal", not "_a_ invalid literal".
This commit is contained in:
Matthias Krüger 2025-02-17 06:37:38 +01:00 committed by GitHub
commit 14ba171899
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

Diff Content Not Available