Hello, in https://doc.rust-lang.org/nightly/reference/expressions/call-expr.html there is this description:
f(...)) An automatic borrow will be taken if needed. Rust will also automatically dereference
f as required.
this brings up the question of priority of automatic borrowing and automatic dereference.
I wonder if this has been decided before? @centril
There is a bug that is related: https://github.com/rust-lang/rust/issues/42736 but i guess it's more important to understand what's desired here and update the reference accordingly first.