@@ -2,12 +2,18 @@ error[E0271]: type mismatch resolving `<StringPiece as ExternType>::Id == (f, o,
22 --> tests/ui/wrong_type_id.rs:11:14
33 |
4411 | type ByteRange = crate::here::StringPiece;
5- | ^^^^^^^^^ expected a tuple with 15 elements, found one with 17 elements
5+ | ^^^^^^^^^ type mismatch resolving `<StringPiece as ExternType>::Id == (f, o, l, l, y, (), B, y, t, e, R, a, n, g, e)`
66 |
7+ note: expected this to be `(f, o, l, l, y, (), B, y, t, e, R, a, n, g, e)`
8+ --> tests/ui/wrong_type_id.rs:1:1
9+ |
10+ 1 | #[cxx::bridge(namespace = "folly")]
11+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
712 = note: expected tuple `(f, o, l, l, y, (), B, y, t, e, R, a, n, g, e)`
813 found tuple `(f, o, l, l, y, (), S, t, r, i, n, g, P, i, e, c, e)`
914note: required by a bound in `verify_extern_type`
1015 --> src/extern_type.rs
1116 |
1217 | pub fn verify_extern_type<T: ExternType<Id = Id>, Id>() {}
1318 | ^^^^^^^ required by this bound in `verify_extern_type`
19+ = note: this error originates in the attribute macro `cxx::bridge` (in Nightly builds, run with -Z macro-backtrace for more info)
0 commit comments