summaryrefslogtreecommitdiffstats
path: root/tests/ui/unique/unique-assign-generic.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/unique/unique-assign-generic.rs')
-rw-r--r--tests/ui/unique/unique-assign-generic.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/ui/unique/unique-assign-generic.rs b/tests/ui/unique/unique-assign-generic.rs
deleted file mode 100644
index d4932d833..000000000
--- a/tests/ui/unique/unique-assign-generic.rs
+++ /dev/null
@@ -1,11 +0,0 @@
-// run-pass
-
-fn f<T>(t: T) -> T {
- let t1 = t;
- t1
-}
-
-pub fn main() {
- let t = f::<Box<_>>(Box::new(100));
- assert_eq!(t, Box::new(100));
-}