Skip to content

Commit 08c17ec

Browse files
committed
rename feature gate to extern_item_impls
1 parent 4ffff92 commit 08c17ec

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+48
-48
lines changed

compiler/rustc_error_codes/src/error_codes/E0806.md

Lines changed: 2 additions & 2 deletions

library/core/src/macros/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1893,7 +1893,7 @@ pub(crate) mod builtin {
18931893

18941894
/// Externally Implementable Item: Defines an attribute macro that can override the item
18951895
/// this is applied to.
1896-
#[unstable(feature = "eii", issue = "125418")]
1896+
#[unstable(feature = "extern_item_impls", issue = "125418")]
18971897
#[rustc_builtin_macro]
18981898
#[allow_internal_unstable(eii_internals, decl_macro, rustc_attrs)]
18991899
pub macro eii($item:item) {
@@ -1902,7 +1902,7 @@ pub(crate) mod builtin {
19021902

19031903
/// Unsafely Externally Implementable Item: Defines an unsafe attribute macro that can override
19041904
/// the item this is applied to.
1905-
#[unstable(feature = "eii", issue = "125418")]
1905+
#[unstable(feature = "extern_item_impls", issue = "125418")]
19061906
#[rustc_builtin_macro]
19071907
#[allow_internal_unstable(eii_internals, decl_macro, rustc_attrs)]
19081908
pub macro unsafe_eii($item:item) {

library/core/src/prelude/v1.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ pub use crate::macros::builtin::define_opaque;
125125
)]
126126
pub use crate::macros::builtin::From;
127127

128-
#[unstable(feature = "eii", issue = "125418")]
128+
#[unstable(feature = "extern_item_impls", issue = "125418")]
129129
pub use crate::macros::builtin::{eii, unsafe_eii};
130130

131131
#[unstable(feature = "eii_internals", issue = "none")]

library/std/src/prelude/v1.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ pub use core::prelude::v1::deref;
110110
)]
111111
pub use core::prelude::v1::define_opaque;
112112

113-
#[unstable(feature = "eii", issue = "125418")]
113+
#[unstable(feature = "extern_item_impls", issue = "125418")]
114114
pub use core::prelude::v1::{eii, unsafe_eii};
115115

116116
#[unstable(feature = "eii_internals", issue = "none")]

tests/ui/eii/auxiliary/codegen1.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//@ no-prefer-dynamic
22
#![crate_type = "rlib"]
3-
#![feature(eii)]
3+
#![feature(extern_item_impls)]
44

55
#[eii(eii1)]
66
fn decl1(x: u64);

tests/ui/eii/auxiliary/codegen2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//@ no-prefer-dynamic
22
#![crate_type = "rlib"]
3-
#![feature(eii)]
3+
#![feature(extern_item_impls)]
44

55
#[eii(eii1)]
66
pub fn decl1(x: u64);

tests/ui/eii/auxiliary/codegen3.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//@ no-prefer-dynamic
22
#![crate_type = "rlib"]
3-
#![feature(eii)]
3+
#![feature(extern_item_impls)]
44

55
// does have an impl but can't be called
66
#[eii(eii1)]

tests/ui/eii/auxiliary/cross_crate_eii_declaration.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//@ no-prefer-dynamic
22
#![crate_type = "rlib"]
3-
#![feature(eii)]
3+
#![feature(extern_item_impls)]
44
#![feature(decl_macro)]
55
#![feature(rustc_attrs)]
66
#![feature(eii_internals)]

tests/ui/eii/codegen_cross_crate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//@ compile-flags: -O
55
//@ ignore-backends: gcc
66
// Tests whether calling EIIs works with the declaration in another crate.
7-
#![feature(eii)]
7+
#![feature(extern_item_impls)]
88

99
extern crate codegen2 as codegen;
1010

tests/ui/eii/codegen_single_crate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//@ check-run-results
33
//@ ignore-backends: gcc
44
// Tests whether calling EIIs works with the declaration in the same crate.
5-
#![feature(eii)]
5+
#![feature(extern_item_impls)]
66

77
#[eii]
88
fn hello(x: u64);

0 commit comments

Comments
 (0)