Skip to content
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

Replaced empty destructors with NonCopyable #7427 #10134

Merged
merged 6 commits into from
Oct 29, 2013

Conversation

reedlepee123
Copy link
Contributor

No description provided.

@@ -340,13 +340,10 @@ pub struct Parser {
mod_path_stack: @mut ~[@str],
/// Stack of spans of open delimiters. Used for error message.
open_braces: @mut ~[Span]
/// removed empty drop function and added a priv new_field of type std::util::NonCopyable
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment isn't needed, but we do want to keep the /* do not copy the parser; its state is tied to outside state */ one, so please put that one here.

@huonw
Copy link
Member

huonw commented Oct 29, 2013

Looks good! But could you squash the 6 commits into 1?

@reedlepee123
Copy link
Contributor Author

Done rebasing !

@bors bors closed this Oct 29, 2013
@bors bors merged commit b5e0738 into rust-lang:master Oct 29, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jan 12, 2023
Partially revert rust-lang#9701

This partially reverts rust-lang#9701 due to rust-lang#10134

r? `@flip1995`

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.

4 participants