Skip to content

syntax: deprecate #[auto_{en,de}code] in favour of #[deriving({En,De}codable)]. #6502

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

huonw
Copy link
Member

@huonw huonw commented May 15, 2013

Replace all instances of #[auto__code] with the appropriate #[deriving] attribute
and remove the majority of the actual auto__ code, leaving stubs to refer the user to
the new syntax.

Also, moves the useful contents of auto_encode.rs to more appropriate spots: tests and comments to deriving/encodable.rs, and the ExtCtxtMethods trait to build.rs (unused so far, but the method syntax might be nicer than using the mk_* fns in many instances).

@graydon
Copy link
Contributor

graydon commented May 15, 2013

needs a rebase, but r+ when you do that

…codable)].

Replace all instances of #[auto_*code] with the appropriate #[deriving] attribute
and remove the majority of the actual code, leaving stubs to refer the user to
the new syntax.
bors added a commit that referenced this pull request May 16, 2013
Replace all instances of #[auto_*code] with the appropriate #[deriving] attribute
and remove the majority of the actual auto_* code, leaving stubs to refer the user to
the new syntax.

Also, moves the useful contents of auto_encode.rs to more appropriate spots: tests and comments to deriving/encodable.rs, and the ExtCtxtMethods trait to build.rs (unused so far, but the method syntax might be nicer than using the mk_* fns in many instances).
@bors bors closed this May 16, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jan 2, 2021
… r=Manishearth

Lint "&PathBuf instead of &Path" in PTR_ARG

fixes rust-lang#6502

changelog: lint "`&PathBuf` instead of `&Path`" in `PTR_ARG`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants