You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
huonw opened this issue
Jan 4, 2015
· 1 comment
· Fixed by #20511
Labels
A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
// Insert temporary renamings for a one-time deprecation (#16545)
should have this renaming added
The text was updated successfully, but these errors were encountered:
huonw
added
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
labels
Jan 4, 2015
`#[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.
Closesrust-lang#20498.
`#[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.
Closesrust-lang#20498.
A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Due to the
#[deriving]
->#[derive]
switch.Relevant bits of code:
rust/src/librustc/lint/builtin.rs
Lines 552 to 620 in 496dc4e
rust/src/librustc/lint/context.rs
Line 226 in 496dc4e
The text was updated successfully, but these errors were encountered: