Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
richardwhiuk
on May 5, 2023
|
parent
|
context
|
favorite
| on:
Ask not what the compiler can do for you
To some extent, all compilers are static analysis tools.
I think clippy could be enhanced to spot this.
pdimitar
on May 5, 2023
[–]
Yep, it likely could. Spotting something that usually is an error now being wrapped in `Pin<Box<...>>` would hopefully be not too hard.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
I think clippy could be enhanced to spot this.