about summary refs log tree commit diff
path: root/src/libcore/marker.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/libcore/marker.rs
parent0d1b79a01a95241d174ad4e5fe03c0b3d3517746 (diff)
downloadrust-8b586e68b5b41cbc44f6e7936487061dc833ebed.tar.gz
rust-8b586e68b5b41cbc44f6e7936487061dc833ebed.zip
auto trait future compatibility lint
Diffstat (limited to 'src/libcore/marker.rs')
-rw-r--r--src/libcore/marker.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libcore/marker.rs b/src/libcore/marker.rs
index f56a9a40332..e47b99ed552 100644
--- a/src/libcore/marker.rs
+++ b/src/libcore/marker.rs
@@ -46,6 +46,8 @@ pub unsafe trait Send {
 }
 
 #[stable(feature = "rust1", since = "1.0.0")]
+#[allow(unknown_lints)]
+#[allow(auto_impl)]
 unsafe impl Send for .. { }
 
 #[stable(feature = "rust1", since = "1.0.0")]
@@ -349,6 +351,8 @@ pub unsafe trait Sync {
 }
 
 #[stable(feature = "rust1", since = "1.0.0")]
+#[allow(unknown_lints)]
+#[allow(auto_impl)]
 unsafe impl Sync for .. { }
 
 #[stable(feature = "rust1", since = "1.0.0")]
@@ -562,6 +566,8 @@ mod impls {
 #[lang = "freeze"]
 unsafe trait Freeze {}
 
+#[allow(unknown_lints)]
+#[allow(auto_impl)]
 unsafe impl Freeze for .. {}
 
 impl<T: ?Sized> !Freeze for UnsafeCell<T> {}