about summary refs log tree commit diff
path: root/tests/ui/traits/inductive-overflow/supertrait-auto-trait.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/traits/inductive-overflow/supertrait-auto-trait.rs')
-rw-r--r--tests/ui/traits/inductive-overflow/supertrait-auto-trait.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/traits/inductive-overflow/supertrait-auto-trait.rs b/tests/ui/traits/inductive-overflow/supertrait-auto-trait.rs
index 5fea47a1be8..ca31d39de98 100644
--- a/tests/ui/traits/inductive-overflow/supertrait-auto-trait.rs
+++ b/tests/ui/traits/inductive-overflow/supertrait-auto-trait.rs
@@ -13,6 +13,6 @@ fn copy<T: Magic>(x: T) -> (T, T) { (x, x) }
 struct NoClone;
 
 fn main() {
-    let (a, b) = copy(NoClone); //~ ERROR
+    let (a, b) = copy(NoClone);
     println!("{:?} {:?}", a, b);
 }