rust/tests
bors 5c19ae96e7 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`
2022-04-11 11:12:33 +00:00
..
test_utils Merge commit '97a5daa659' into clippyup 2022-01-13 13:18:19 +01:00
ui Auto merge of #8660 - yoav-lavi:squashed-master, r=flip1995 2022-04-11 11:12:33 +00:00
ui-cargo Handle relative paths in module_files lints 2022-03-30 18:44:04 +01:00
ui-internal Merge remote-tracking branch 'upstream/master' into rustup 2022-04-07 15:44:37 +01:00
ui-toml fix existing clippy tests 2022-03-30 20:12:58 +02:00
workspace_test Merge commit '97a5daa659' into clippyup 2022-01-13 13:18:19 +01:00
check-fmt.rs Run fmt test before compile-test/dogfood 2022-04-02 12:34:06 +01:00
clippy.toml Merge commit '3ae8faff4d' into clippyup 2021-06-03 08:41:37 +02:00
compile-test.rs Merge commit 'dc5423ad44' into clippyup 2022-03-14 12:02:53 +01:00
dogfood.rs Merge commit '97a5daa659' into clippyup 2022-01-13 13:18:19 +01:00
integration.rs Merge commit 'cb7915b00c' into clippyup 2021-09-28 18:03:12 +01:00
lint_message_convention.rs resolve the conflict in compiler/rustc_session/src/parse.rs 2022-03-16 20:12:30 +08:00
missing-test-files.rs Merge commit 'e181011378' into clippyup 2021-11-04 12:52:36 +00:00
versioncheck.rs Remove cargo_metadata dependency from clippy 2022-04-01 23:18:47 -04:00
workspace.rs resolve the conflict in compiler/rustc_session/src/parse.rs 2022-03-16 20:12:30 +08:00