about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-10-15 16:36:12 +0000
committerbors <bors@rust-lang.org>2024-10-15 16:36:12 +0000
commitf32862384e98d31d8b34eb5280b1960cbb5af339 (patch)
tree14a3f4d822b681b866728300e71bf85596570bd4 /tests/rustdoc-js-std/parser-errors.js
parent1563ce5aaa6058e845a0f33d2768dfe17ed88ddd (diff)
parentb62d2624acec2017e9ba04bcc8e250e491f51c05 (diff)
downloadrust-f32862384e98d31d8b34eb5280b1960cbb5af339.tar.gz
rust-f32862384e98d31d8b34eb5280b1960cbb5af339.zip
Auto merge of #13395 - GnomedDev:unnecessary-lit-bound, r=Manishearth
Add lint for unnecessary lifetime bounded &str return

Closes #305.

Currently implemented with a pretty strong limitation that it can only see the most basic implicit return, but this should be fixable by something with more time and brain energy than me. Cavets from #13388 apply, as I have not had a review on my clippy lints yet so am pretty new to this.

```
changelog: [`unnecessary_literal_bound`]:  Add lint for unnecessary lifetime bounded &str return.
```
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions