summaryrefslogtreecommitdiffstats
path: root/tests/ui/unboxed-closures/unboxed-closures-call-sugar-autoderef.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/unboxed-closures/unboxed-closures-call-sugar-autoderef.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/ui/unboxed-closures/unboxed-closures-call-sugar-autoderef.rs b/tests/ui/unboxed-closures/unboxed-closures-call-sugar-autoderef.rs
index 9b8a3f409..8a40c1d47 100644
--- a/tests/ui/unboxed-closures/unboxed-closures-call-sugar-autoderef.rs
+++ b/tests/ui/unboxed-closures/unboxed-closures-call-sugar-autoderef.rs
@@ -1,8 +1,6 @@
// run-pass
// Test that the call operator autoderefs when calling a bounded type parameter.
-use std::ops::FnMut;
-
fn call_with_2<F>(x: &mut F) -> isize
where F : FnMut(isize) -> isize
{