about summary refs log tree commit diff
path: root/tests/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-08-14 15:45:17 +0000
committerbors <bors@rust-lang.org>2022-08-14 15:45:17 +0000
commit679fa9f2bfbdb65f0eb7732fa20043fd0f6813a8 (patch)
tree1fdc393afba2956ddf6d313bb72424d3c68409f5 /tests/debuginfo/enum-thinlto.rs
parent84df61c06eb36602022e758878afe66479ba0769 (diff)
parentaf4885c0cde76bf1faace76dc8fb53d3d4791422 (diff)
downloadrust-679fa9f2bfbdb65f0eb7732fa20043fd0f6813a8.tar.gz
rust-679fa9f2bfbdb65f0eb7732fa20043fd0f6813a8.zip
Auto merge of #9187 - sgued:iter-once, r=flip1995
Add lint recommending using `std::iter::once` and `std::iter::empty`

```
changelog: [`iter_once`]: add new lint
changelog: [`iter_empty`]: add new lint
```

fixes #9186

- \[ ] 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

The lint doesn't really follow the naming conventions. I don't have any better idea so I'm open to suggestions.
Diffstat (limited to 'tests/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions