rollup merge of #20511: csouth3/derive-lint

`#[deriving]` has been changed to `#[derive]`, so we should update this lint accordingly so that it remains consistent with the language.

Also register the rename with the LintStore.

I've changed the one reference to `raw_pointer_deriving` that occurs in the tests (as well as renamed the file appropriately), but the rest of the `raw_pointer_deriving`s in the Rust codebase will need to wait for a snapshot to be changed because stage0 doesn't know about the new lint name.  I'll take care of the remaining renaming after the next snapshot.

Closes #20498.
This commit is contained in:
Alex Crichton 2015-01-05 18:37:23 -08:00
commit cc0697ec9e
3 changed files with 14 additions and 13 deletions

View file

@ -9,7 +9,7 @@
// except according to those terms.
#![allow(dead_code)]
#![deny(raw_pointer_deriving)]
#![deny(raw_pointer_derive)]
#[derive(Clone)]
struct Foo {