4 ms·
Curious. Can you provide a full code example so that I can try to determine what's causing that error?
by kibwen 11y ago
Curious. Can you provide a full code example so that I can try to determine what's causing that error?
- valarauca1 11y agoJust make an issue?
- kibwen 11y agoI don't think it necessarily warrants an issue on the Rust repo, this is just for my own edification.
- Manishearth 11y agoUsually in these cases the culprit is autoderef/deref coercions.
- kibwen 11y agoI don't see anything in `|x| foo(x)` that could be causing `x` to be deref'd.
- Manishearth 11y agoA deref coercion can happen there https://github.com/Manishearth/rust-clippy/issues/116 https://github.com/Manishearth/rust-clippy/issues/116