Skip to content

Commit 93294ea

Browse files
committed
Fix
1 parent 4fac739 commit 93294ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_driver/test.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ fn errors(msgs: &[&str]) -> (Box<dyn Emitter + sync::Send>, usize) {
9898

9999
fn test_env<F>(source_string: &str, args: (Box<dyn Emitter + sync::Send>, usize), body: F)
100100
where
101-
F: FnOnce(Env),
101+
F: FnOnce(Env) + sync::Send,
102102
{
103103
syntax::with_globals(|| {
104104
let mut options = config::Options::default();

0 commit comments

Comments
 (0)