Y
Hacker News
new
|
ask
|
show
|
jobs
by
kibwen
3893 days ago
Curious. Can you provide a full code example so that I can try to determine what's causing that error?
2 comments
Manishearth
3893 days ago
Usually in these cases the culprit is autoderef/deref coercions.
link
kibwen
3891 days ago
I don't see anything in `|x| foo(x)` that could be causing `x` to be deref'd.
link
Manishearth
3891 days ago
A deref coercion can happen there
https://github.com/Manishearth/rust-clippy/issues/116
link
valarauca1
3893 days ago
Just make an issue?
link
kibwen
3891 days ago
I don't think it necessarily warrants an issue on the Rust repo, this is just for my own edification.
link