@@ -23,8 +23,8 @@ note: required by a bound in `NamedField::new`
2323error[E0277]: the trait bound `TheirInner<T>: Reflect` is not satisfied
2424 --> tests/reflect_remote/nested.fail.rs:11:5
2525 |
26- 11 | #[reflect_remote(super::external_crate::TheirOuter<T>)]
27- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Reflect` is not implemented for `TheirInner<T>`
26+ 11 | #[reflect_remote(super::external_crate::TheirOuter<T>, FromReflect )]
27+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Reflect` is not implemented for `TheirInner<T>`
2828 |
2929 = help: the following other types implement trait `Reflect`:
3030 &'static Path
@@ -42,8 +42,8 @@ error[E0277]: the trait bound `TheirInner<T>: Reflect` is not satisfied
4242error[E0277]: the trait bound `TheirInner<T>: Reflect` is not satisfied
4343 --> tests/reflect_remote/nested.fail.rs:11:5
4444 |
45- 11 | #[reflect_remote(super::external_crate::TheirOuter<T>)]
46- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Reflect` is not implemented for `TheirInner<T>`
45+ 11 | #[reflect_remote(super::external_crate::TheirOuter<T>, FromReflect )]
46+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Reflect` is not implemented for `TheirInner<T>`
4747 |
4848 = help: the following other types implement trait `Reflect`:
4949 &'static Path
@@ -61,8 +61,8 @@ error[E0277]: the trait bound `TheirInner<T>: Reflect` is not satisfied
6161error[E0277]: the trait bound `TheirInner<T>: Reflect` is not satisfied
6262 --> tests/reflect_remote/nested.fail.rs:11:5
6363 |
64- 11 | #[reflect_remote(super::external_crate::TheirOuter<T>)]
65- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Reflect` is not implemented for `TheirInner<T>`
64+ 11 | #[reflect_remote(super::external_crate::TheirOuter<T>, FromReflect )]
65+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Reflect` is not implemented for `TheirInner<T>`
6666 |
6767 = help: the following other types implement trait `Reflect`:
6868 &'static Path
@@ -76,11 +76,22 @@ error[E0277]: the trait bound `TheirInner<T>: Reflect` is not satisfied
7676 and $N others
7777 = note: this error originates in the attribute macro `reflect_remote` (in Nightly builds, run with -Z macro-backtrace for more info)
7878
79+ error[E0308]: `?` operator has incompatible types
80+ --> tests/reflect_remote/nested.fail.rs:24:5
81+ |
82+ 24 | #[reflect_remote(super::external_crate::TheirOuter<T>, FromReflect)]
83+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `TheirInner`, found struct `incorrect_inner_type::MyInner`
84+ |
85+ = note: `?` operator cannot convert from `incorrect_inner_type::MyInner<T>` to `TheirInner<T>`
86+ = note: expected struct `TheirInner<T>`
87+ found struct `incorrect_inner_type::MyInner<T>`
88+ = note: this error originates in the attribute macro `reflect_remote` (in Nightly builds, run with -Z macro-backtrace for more info)
89+
7990error[E0277]: the trait bound `TheirInner<T>: Reflect` is not satisfied
8091 --> tests/reflect_remote/nested.fail.rs:24:5
8192 |
82- 24 | #[reflect_remote(super::external_crate::TheirOuter<T>)]
83- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Reflect` is not implemented for `TheirInner<T>`
93+ 24 | #[reflect_remote(super::external_crate::TheirOuter<T>, FromReflect )]
94+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Reflect` is not implemented for `TheirInner<T>`
8495 |
8596 = help: the following other types implement trait `Reflect`:
8697 &'static Path
@@ -98,8 +109,8 @@ error[E0277]: the trait bound `TheirInner<T>: Reflect` is not satisfied
98109error[E0277]: the trait bound `TheirInner<T>: Reflect` is not satisfied
99110 --> tests/reflect_remote/nested.fail.rs:24:5
100111 |
101- 24 | #[reflect_remote(super::external_crate::TheirOuter<T>)]
102- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Reflect` is not implemented for `TheirInner<T>`
112+ 24 | #[reflect_remote(super::external_crate::TheirOuter<T>, FromReflect )]
113+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Reflect` is not implemented for `TheirInner<T>`
103114 |
104115 = help: the following other types implement trait `Reflect`:
105116 &'static Path
@@ -117,8 +128,8 @@ error[E0277]: the trait bound `TheirInner<T>: Reflect` is not satisfied
117128error[E0277]: the trait bound `TheirInner<T>: Reflect` is not satisfied
118129 --> tests/reflect_remote/nested.fail.rs:24:5
119130 |
120- 24 | #[reflect_remote(super::external_crate::TheirOuter<T>)]
121- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Reflect` is not implemented for `TheirInner<T>`
131+ 24 | #[reflect_remote(super::external_crate::TheirOuter<T>, FromReflect )]
132+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Reflect` is not implemented for `TheirInner<T>`
122133 |
123134 = help: the following other types implement trait `Reflect`:
124135 &'static Path
@@ -135,8 +146,8 @@ error[E0277]: the trait bound `TheirInner<T>: Reflect` is not satisfied
135146error[E0308]: mismatched types
136147 --> tests/reflect_remote/nested.fail.rs:37:5
137148 |
138- 37 | #[reflect_remote(super::external_crate::TheirOuter<T>)]
139- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `TheirInner`, found struct `TheirOuter`
149+ 37 | #[reflect_remote(super::external_crate::TheirOuter<T>, FromReflect )]
150+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `TheirInner`, found struct `TheirOuter`
140151...
14115241 | pub inner: super::external_crate::TheirInner<T>,
142153 | ------------------------------------ expected due to this
0 commit comments