diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2012-07-25 06:41:56 -0700 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2012-07-25 09:19:02 -0700 |
| commit | cc8086a045abf1aaac29c3d33b1a18a9ae67a58d (patch) | |
| tree | 1338e5a4c286b8b9b160ded47de1a969bbc8387a /src/rt/rust_task.cpp | |
| parent | 99674dc52b45a22b49f13242be9d931009b4f276 (diff) | |
| download | rust-cc8086a045abf1aaac29c3d33b1a18a9ae67a58d.tar.gz rust-cc8086a045abf1aaac29c3d33b1a18a9ae67a58d.zip | |
add new deprecated_mode lint pass
It will warn you if you use the default mode for something that is expensive to copy, and it will warn you if you use any explicit mode other than copy. So you should migrate over to using the default mode for most things (and borrowed pointers when you don't want to copy) and copy mode for things you really wanted to copy.
Diffstat (limited to 'src/rt/rust_task.cpp')
0 files changed, 0 insertions, 0 deletions
