diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-10-25 07:19:07 +0200 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-11-06 07:34:51 +0100 |
| commit | 1c7595fd0f509637e8da61e3bac425e4f3fd69fa (patch) | |
| tree | 34326c1a796ae230ed054add7f215cb48b84d6aa /src/librustc/error_codes.rs | |
| parent | e4931eaaa3d95189b30e90d3af9f0db17c41bbb0 (diff) | |
| download | rust-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.rs | 6 |
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){} |
