about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2015-01-25 10:28:58 +1100
committerHuon Wilson <dbau.pp+github@gmail.com>2015-01-25 10:44:56 +1100
commitae4e1a190be74024997551d2fe8c183866fc1cc5 (patch)
tree40771e090f7cd92a9dd0a6f10a9abf6d3d37e139 /src/rustllvm/RustWrapper.cpp
parent4be79d6acde9eed3a9b5281a46f385bcb4ce736c (diff)
downloadrust-ae4e1a190be74024997551d2fe8c183866fc1cc5.tar.gz
rust-ae4e1a190be74024997551d2fe8c183866fc1cc5.zip
Tell the compiler to tell us that `deriving` is dead.
I'm beginning to suspect it's impossible to avoid accidentally writing
`#[deriving]` at least once in every program, and it results in
non-intuitive error messages: "Foo doesn't have any method in scope
`clone`" despite there being a `#[deriv...(Clone)]` attribute!

Also, lots of documentation around the internet uses `#[deriving]` so
providing this guidance is very helpful (lots of people ask in #rust
about this error).

Fixes #21166.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions