diff options
Diffstat (limited to '')
-rw-r--r-- | tests/ui/regions/regions-lifetime-static-items-enclosing-scopes.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/ui/regions/regions-lifetime-static-items-enclosing-scopes.rs b/tests/ui/regions/regions-lifetime-static-items-enclosing-scopes.rs index b6a89e29e..2c455fc35 100644 --- a/tests/ui/regions/regions-lifetime-static-items-enclosing-scopes.rs +++ b/tests/ui/regions/regions-lifetime-static-items-enclosing-scopes.rs @@ -3,9 +3,6 @@ // This test verifies that temporary lifetime is correctly computed // for static objects in enclosing scopes. - -use std::cmp::PartialEq; - fn f<T:PartialEq+std::fmt::Debug>(o: &mut Option<T>) { assert_eq!(*o, None); } |