diff options
| author | Michael Goulet <michael@errs.io> | 2023-06-13 22:31:25 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2023-06-20 04:38:46 +0000 |
| commit | 91e5c3f2e5d0a20ffc9b2e80ea049e77d5721da0 (patch) | |
| tree | 87b9e516ddd5caf9ef411647c97b9855ea13a40e /compiler/rustc_feature/src | |
| parent | 657d3f43a9802a3e119c1acf6467ddc0eb41e0be (diff) | |
| download | rust-91e5c3f2e5d0a20ffc9b2e80ea049e77d5721da0.tar.gz rust-91e5c3f2e5d0a20ffc9b2e80ea049e77d5721da0.zip | |
Make rustc_deny_explicit_impl only local as well
Diffstat (limited to 'compiler/rustc_feature/src')
| -rw-r--r-- | compiler/rustc_feature/src/builtin_attrs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_feature/src/builtin_attrs.rs b/compiler/rustc_feature/src/builtin_attrs.rs index 566f856258a..0e7deef0cff 100644 --- a/compiler/rustc_feature/src/builtin_attrs.rs +++ b/compiler/rustc_feature/src/builtin_attrs.rs @@ -705,7 +705,7 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[ "#[rustc_allow_incoherent_impl] has to be added to all impl items of an incoherent inherent impl." ), rustc_attr!( - rustc_deny_explicit_impl, AttributeType::Normal, template!(Word), ErrorFollowing, @only_local: false, + rustc_deny_explicit_impl, AttributeType::Normal, template!(Word), ErrorFollowing, @only_local: true, "#[rustc_deny_explicit_impl] enforces that a trait can have no user-provided impls" ), rustc_attr!( |
