Rollup merge of #46636 - frewsxcv:frewsxcv-fn-box, r=estebank
Replace libtest/lib.rs:FnBox with std::boxed::FnBox. Fixes https://github.com/rust-lang/rust/issues/41810.
This commit is contained in:
commit
71c6d23612
3 changed files with 22 additions and 32 deletions
|
|
@ -533,7 +533,7 @@ impl Collector {
|
|||
should_panic: testing::ShouldPanic::No,
|
||||
allow_fail,
|
||||
},
|
||||
testfn: testing::DynTestFn(box move |()| {
|
||||
testfn: testing::DynTestFn(box move || {
|
||||
let panic = io::set_panic(None);
|
||||
let print = io::set_print(None);
|
||||
match {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue