1+ error[E0308]: `?` operator has incompatible types
2+ --> tests/reflect_remote/nested.fail.rs:24:5
3+ |
4+ 24 | #[reflect_remote(super::external_crate::TheirOuter<T>, FromReflect)]
5+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `TheirInner`, found struct `incorrect_inner_type::MyInner`
6+ |
7+ = note: `?` operator cannot convert from `incorrect_inner_type::MyInner<T>` to `TheirInner<T>`
8+ = note: expected struct `TheirInner<T>`
9+ found struct `incorrect_inner_type::MyInner<T>`
10+ = note: this error originates in the attribute macro `reflect_remote` (in Nightly builds, run with -Z macro-backtrace for more info)
11+
112error[E0277]: the trait bound `TheirInner<T>: Reflect` is not satisfied
213 --> tests/reflect_remote/nested.fail.rs:24:5
314 |
4- 24 | #[reflect_remote(super::external_crate::TheirOuter<T>)]
5- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Reflect` is not implemented for `TheirInner<T>`
15+ 24 | #[reflect_remote(super::external_crate::TheirOuter<T>, FromReflect )]
16+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Reflect` is not implemented for `TheirInner<T>`
617 |
718 = help: the following other types implement trait `Reflect`:
819 &'static Path
@@ -20,8 +31,8 @@ error[E0277]: the trait bound `TheirInner<T>: Reflect` is not satisfied
2031error[E0277]: the trait bound `TheirInner<T>: Reflect` is not satisfied
2132 --> tests/reflect_remote/nested.fail.rs:24:5
2233 |
23- 24 | #[reflect_remote(super::external_crate::TheirOuter<T>)]
24- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Reflect` is not implemented for `TheirInner<T>`
34+ 24 | #[reflect_remote(super::external_crate::TheirOuter<T>, FromReflect )]
35+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Reflect` is not implemented for `TheirInner<T>`
2536 |
2637 = help: the following other types implement trait `Reflect`:
2738 &'static Path
@@ -39,8 +50,8 @@ error[E0277]: the trait bound `TheirInner<T>: Reflect` is not satisfied
3950error[E0277]: the trait bound `TheirInner<T>: Reflect` is not satisfied
4051 --> tests/reflect_remote/nested.fail.rs:24:5
4152 |
42- 24 | #[reflect_remote(super::external_crate::TheirOuter<T>)]
43- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Reflect` is not implemented for `TheirInner<T>`
53+ 24 | #[reflect_remote(super::external_crate::TheirOuter<T>, FromReflect )]
54+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Reflect` is not implemented for `TheirInner<T>`
4455 |
4556 = help: the following other types implement trait `Reflect`:
4657 &'static Path
@@ -57,8 +68,8 @@ error[E0277]: the trait bound `TheirInner<T>: Reflect` is not satisfied
5768error[E0308]: mismatched types
5869 --> tests/reflect_remote/nested.fail.rs:37:5
5970 |
60- 37 | #[reflect_remote(super::external_crate::TheirOuter<T>)]
61- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `TheirInner`, found struct `TheirOuter`
71+ 37 | #[reflect_remote(super::external_crate::TheirOuter<T>, FromReflect )]
72+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `TheirInner`, found struct `TheirOuter`
6273...
637441 | pub inner: super::external_crate::TheirInner<T>,
6475 | ------------------------------------ expected due to this
0 commit comments