I was writing some Rust with a colleague when they asked me about the cases where Rust deferences types for us automatically. I said that Rust will automatically dereference pointers when making method calls, but otherwise there was no compiler magic. This conflicted with their experience with Rust and presented an example like this: