1 error[E0390]: cannot define inherent `impl` for a type outside of the crate where the type is defined
2 --> $DIR/needs-has-incoherent-impls.rs:5:1
4 LL | / impl extern_crate::StructWithAttr {
10 = help: consider moving this inherent impl into the crate defining the type if possible
11 help: alternatively add `#[rustc_allow_incoherent_impl]` to the relevant impl items
12 --> $DIR/needs-has-incoherent-impls.rs:7:5
17 error[E0390]: cannot define inherent `impl` for a type outside of the crate where the type is defined
18 --> $DIR/needs-has-incoherent-impls.rs:13:1
20 LL | / impl extern_crate::StructNoAttr {
26 = help: consider moving this inherent impl into the crate defining the type if possible
27 help: alternatively add `#[rustc_has_incoherent_inherent_impls]` to the type and `#[rustc_allow_incoherent_impl]` to the relevant impl items
28 --> $DIR/needs-has-incoherent-impls.rs:13:1
30 LL | / impl extern_crate::StructNoAttr {
36 error[E0390]: cannot define inherent `impl` for a type outside of the crate where the type is defined
37 --> $DIR/needs-has-incoherent-impls.rs:17:1
39 LL | / impl extern_crate::StructNoAttr {
41 LL | | #[rustc_allow_incoherent_impl]
46 = help: consider moving this inherent impl into the crate defining the type if possible
47 help: alternatively add `#[rustc_has_incoherent_inherent_impls]` to the type and `#[rustc_allow_incoherent_impl]` to the relevant impl items
48 --> $DIR/needs-has-incoherent-impls.rs:17:1
50 LL | / impl extern_crate::StructNoAttr {
52 LL | | #[rustc_allow_incoherent_impl]
57 error[E0390]: cannot define inherent `impl` for a type outside of the crate where the type is defined
58 --> $DIR/needs-has-incoherent-impls.rs:22:1
60 LL | / impl extern_crate::EnumWithAttr {
66 = help: consider moving this inherent impl into the crate defining the type if possible
67 help: alternatively add `#[rustc_allow_incoherent_impl]` to the relevant impl items
68 --> $DIR/needs-has-incoherent-impls.rs:24:5
73 error[E0390]: cannot define inherent `impl` for a type outside of the crate where the type is defined
74 --> $DIR/needs-has-incoherent-impls.rs:30:1
76 LL | / impl extern_crate::EnumNoAttr {
82 = help: consider moving this inherent impl into the crate defining the type if possible
83 help: alternatively add `#[rustc_has_incoherent_inherent_impls]` to the type and `#[rustc_allow_incoherent_impl]` to the relevant impl items
84 --> $DIR/needs-has-incoherent-impls.rs:30:1
86 LL | / impl extern_crate::EnumNoAttr {
92 error[E0390]: cannot define inherent `impl` for a type outside of the crate where the type is defined
93 --> $DIR/needs-has-incoherent-impls.rs:34:1
95 LL | / impl extern_crate::EnumNoAttr {
97 LL | | #[rustc_allow_incoherent_impl]
102 = help: consider moving this inherent impl into the crate defining the type if possible
103 help: alternatively add `#[rustc_has_incoherent_inherent_impls]` to the type and `#[rustc_allow_incoherent_impl]` to the relevant impl items
104 --> $DIR/needs-has-incoherent-impls.rs:34:1
106 LL | / impl extern_crate::EnumNoAttr {
108 LL | | #[rustc_allow_incoherent_impl]
113 error: aborting due to 6 previous errors
115 For more information about this error, try `rustc --explain E0390`.