Make rustc_deny_explicit_impl only local as well
This commit is contained in:
parent
657d3f43a9
commit
91e5c3f2e5
4 changed files with 8 additions and 4 deletions
|
@ -57,6 +57,9 @@ pub struct TraitDef {
|
|||
/// denied. This only applies to built-in trait, and is marked via
|
||||
/// `#[rustc_do_not_implement_via_object]`.
|
||||
pub do_not_implement_via_object: bool,
|
||||
|
||||
/// Whether a trait is fully built-in, and any implementation is disallowed.
|
||||
pub deny_explicit_impl: bool,
|
||||
}
|
||||
|
||||
/// Whether this trait is treated specially by the standard library
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue