about summary refs log tree commit diff
path: root/src/test/compile-fail/traits-inductive-overflow-supertrait-oibit.rs
diff options
context:
space:
mode:
authorleonardo.yvens <leoyvens@gmail.com>2017-10-14 18:23:50 -0300
committerleonardo.yvens <leoyvens@gmail.com>2017-11-03 16:13:21 -0200
commit8b586e68b5b41cbc44f6e7936487061dc833ebed (patch)
treec4f726160cfa01352d9efcca5a1d6d3745a644bf /src/test/compile-fail/traits-inductive-overflow-supertrait-oibit.rs
parent0d1b79a01a95241d174ad4e5fe03c0b3d3517746 (diff)
downloadrust-8b586e68b5b41cbc44f6e7936487061dc833ebed.tar.gz
rust-8b586e68b5b41cbc44f6e7936487061dc833ebed.zip
auto trait future compatibility lint
Diffstat (limited to 'src/test/compile-fail/traits-inductive-overflow-supertrait-oibit.rs')
-rw-r--r--src/test/compile-fail/traits-inductive-overflow-supertrait-oibit.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/compile-fail/traits-inductive-overflow-supertrait-oibit.rs b/src/test/compile-fail/traits-inductive-overflow-supertrait-oibit.rs
index fe0e583b20a..6c7928f13f8 100644
--- a/src/test/compile-fail/traits-inductive-overflow-supertrait-oibit.rs
+++ b/src/test/compile-fail/traits-inductive-overflow-supertrait-oibit.rs
@@ -15,6 +15,7 @@
 #![feature(optin_builtin_traits)]
 
 trait Magic: Copy {} //~ ERROR E0568
+#[allow(auto_impl)]
 impl Magic for .. {}
 
 fn copy<T: Magic>(x: T) -> (T, T) { (x, x) }