Skip to content

Conversation

frewsxcv
Copy link
Contributor

Fixes #41810.

@kennytm kennytm added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 10, 2017
@frewsxcv frewsxcv force-pushed the frewsxcv-fn-box branch 4 times, most recently from 7e601ee to cbd2710 Compare December 11, 2017 02:56
@@ -1720,7 +1710,7 @@ mod tests {
should_panic: ShouldPanic::No,
allow_fail: false,
},
testfn: DynTestFn(Box::new(move |()| f())),
testfn: DynTestFn(Box::new(move || f())),
Copy link
Member

Choose a reason for hiding this comment

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

These can simply be Box::new(f) I think.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

addressed in the latest force push

@frewsxcv frewsxcv added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Dec 17, 2017
@frewsxcv
Copy link
Contributor Author

assigning to someone random from the compiler team (unless there's a better team to review this)

r? @estebank

@estebank
Copy link
Contributor

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Dec 21, 2017

📌 Commit 4f04f97 has been approved by estebank

@kennytm kennytm added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Dec 21, 2017
kennytm added a commit to kennytm/rust that referenced this pull request Dec 21, 2017
Replace libtest/lib.rs:FnBox with std::boxed::FnBox.

Fixes rust-lang#41810.
bors added a commit that referenced this pull request Dec 21, 2017
Rollup of 14 pull requests

- Successful merges: #46636, #46780, #46784, #46809, #46814, #46820, #46839, #46847, #46858, #46878, #46884, #46890, #46898, #46918
- Failed merges:
@bors bors merged commit 4f04f97 into rust-lang:master Dec 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants