rust-lang/rust — pull request #19090 by kmcallister (2014-11-18 22:48:47+00:00)
Title: deriving: error out when used on a non-type

Besides being more helpful, this gives us the flexibility to later define a meaning for something like

#[deriving(...)]
mod bar { ... }