about summary refs log tree commit diff
path: root/src/test/codegen
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-04-11 11:12:33 +0000
committerbors <bors@rust-lang.org>2022-04-11 11:12:33 +0000
commit5c19ae96e7e7b8eecf86c87c96ba666cd5b5066d (patch)
tree1b48cafc0290fcedaa52c40944339829f5c3d10c /src/test/codegen
parent85e91dc99e1fe21eebe7f9485a8af8b5a3430051 (diff)
parent10201370a1509b806b9e2a83ded6b132466291b8 (diff)
downloadrust-5c19ae96e7e7b8eecf86c87c96ba666cd5b5066d.tar.gz
rust-5c19ae96e7e7b8eecf86c87c96ba666cd5b5066d.zip
Auto merge of #8660 - yoav-lavi:squashed-master, r=flip1995
`unnecessary_owned_empty_strings`

[`unnecessary_owned_empty_strings`]

Fixes https://github.com/rust-lang/rust-clippy/issues/8650

- \[x] Followed [lint naming conventions][lint_naming]
- \[x] Added passing UI tests (including committed `.stderr` file)
- \[x] `cargo test` passes locally
- \[x] Executed `cargo dev update_lints`
- \[x] Added lint documentation
- \[x] Run `cargo dev fmt`

[lint_naming]: https://rust-lang.github.io/rfcs/0344-conventions-galore.html#lints

changelog: Adds `unnecessary_owned_empty_strings`, a lint that detects passing owned empty strings to a function expecting `&str`
Diffstat (limited to 'src/test/codegen')
0 files changed, 0 insertions, 0 deletions