about summary refs log tree commit diff
path: root/src/librustc/error_codes.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-10-25 07:19:07 +0200
committerMazdak Farrokhzad <twingoow@gmail.com>2019-11-06 07:34:51 +0100
commit1c7595fd0f509637e8da61e3bac425e4f3fd69fa (patch)
tree34326c1a796ae230ed054add7f215cb48b84d6aa /src/librustc/error_codes.rs
parente4931eaaa3d95189b30e90d3af9f0db17c41bbb0 (diff)
downloadrust-1c7595fd0f509637e8da61e3bac425e4f3fd69fa.tar.gz
rust-1c7595fd0f509637e8da61e3bac425e4f3fd69fa.zip
gate rustc_on_unimplemented under rustc_attrs
Diffstat (limited to 'src/librustc/error_codes.rs')
-rw-r--r--src/librustc/error_codes.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librustc/error_codes.rs b/src/librustc/error_codes.rs
index f5ff92e69bc..18d98efebd4 100644
--- a/src/librustc/error_codes.rs
+++ b/src/librustc/error_codes.rs
@@ -607,7 +607,7 @@ position that needs that trait. For example, when the following code is
 compiled:
 
 ```compile_fail
-#![feature(on_unimplemented)]
+#![feature(rustc_attrs)]
 
 fn foo<T: Index<u8>>(x: T){}
 
@@ -639,7 +639,7 @@ position that needs that trait. For example, when the following code is
 compiled:
 
 ```compile_fail
-#![feature(on_unimplemented)]
+#![feature(rustc_attrs)]
 
 fn foo<T: Index<u8>>(x: T){}
 
@@ -669,7 +669,7 @@ position that needs that trait. For example, when the following code is
 compiled:
 
 ```compile_fail
-#![feature(on_unimplemented)]
+#![feature(rustc_attrs)]
 
 fn foo<T: Index<u8>>(x: T){}