about summary refs log tree commit diff
path: root/tests/ui/patchable-function-entry/patchable-function-entry-flags.rs
diff options
context:
space:
mode:
authorDev381 <49997896+Dev380@users.noreply.github.com>2023-09-17 17:50:45 -0400
committerDev381 <49997896+Dev380@users.noreply.github.com>2023-09-17 17:50:45 -0400
commit1c9f3bef8bb80dc8706e4595a262fe8825ccf74a (patch)
tree4fe9926c96ad7cbdcb2f33b97c91bd30b4f0f37c /tests/ui/patchable-function-entry/patchable-function-entry-flags.rs
parent251a475b724a81ffcfd0113820492a329feeef5c (diff)
downloadrust-1c9f3bef8bb80dc8706e4595a262fe8825ccf74a.tar.gz
rust-1c9f3bef8bb80dc8706e4595a262fe8825ccf74a.zip
Add redundant_as_str lint
This lint checks for `as_str` on a `String` immediately followed by `as_bytes` or `is_empty` as those methods are available on `String` too. This could possibly also be extended to `&[u8]` in the future.
Diffstat (limited to 'tests/ui/patchable-function-entry/patchable-function-entry-flags.rs')
0 files changed, 0 insertions, 0 deletions