4 ms·
To some extent, all compilers are static analysis tools. I think clippy could be enhanced to spot this.
by richardwhiuk 3y ago
To some extent, all compilers are static analysis tools.
I think clippy could be enhanced to spot this.
- pdimitar 3y agoYep, it likely could. Spotting something that usually is an error now being wrapped in `Pin<Box<...>>` would hopefully be not too hard.