> A mystery-heuristic that programmers can't depend on is much less > attractive. Users are going to write unsafe code that occasionally observes > the distinction. I don't want to be hiding this.
The only point where I suggested a heuristic was for when to emit warning for implicit copying. The rule for what gets passed by value are simple -- everything that we consider a structural type is always passed by reference, everything else is passed by value. _______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev