Skip to content

libsyntax: Remove @const from the language #5480

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

Merged
merged 2 commits into from
Mar 22, 2013
Merged

Conversation

pcwalton
Copy link
Contributor

@bors bors closed this Mar 22, 2013
@bors bors merged commit 02c49b3 into rust-lang:incoming Mar 22, 2013
oli-obk pushed a commit to oli-obk/rust that referenced this pull request May 2, 2020
unit_arg suggestion is not really machine-applicable

This lint suggests replacing any code returining `()`-type with `()` literal, which can change the behavior. e.g. `Ok(do_something())` -> `OK(())`.

---

changelog: none
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.

2 participants