We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
{|| ... x ...}
x
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
Oops, turns out this was already fixed. Never mind!
The text was updated successfully, but these errors were encountered:
Did you run code that makes sure this is actually fixed? It wouldn't hurt to make sure.
Sorry, something went wrong.
This code is the code I was about to paste into the issue, until I discovered it was correctly erroring.
resource r(i: int) {} class c { let dont_copy_me: r; let mut counter: int; new() { } fn next() -> int { self.counter += 1; ret self.counter; } fn breakit() { let f1 = {|| self.next()}; let f2 = {|| self.next()}; io::println(#fmt["%?",f1()]); io::println(#fmt["%?",f2()]); } } fn main() { let c1 = c(); c1.next(); c1.next(); c1.next(); c1.breakit(); }
Cleanup redundant logic (rust-lang#2437)
8d79ee5
There is no need for a different visitor for gathering unit tests.
Merge pull request rust-lang#2437 from rust-lang/rustc-pull
1e77768
Rustc pull update
No branches or pull requests
Oops, turns out this was already fixed. Never mind!
The text was updated successfully, but these errors were encountered: