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:
commit
86f3d525e0
7 changed files with 274 additions and 47 deletions
|
@ -1973,6 +1973,10 @@ symbols! {
|
|||
str_from_utf8_mut,
|
||||
str_from_utf8_unchecked,
|
||||
str_from_utf8_unchecked_mut,
|
||||
str_inherent_from_utf8,
|
||||
str_inherent_from_utf8_mut,
|
||||
str_inherent_from_utf8_unchecked,
|
||||
str_inherent_from_utf8_unchecked_mut,
|
||||
str_len,
|
||||
str_split_whitespace,
|
||||
str_starts_with,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue