Skip to content

Commit fbfdc60

Browse files
committed
Update ui test suite to nightly-2025-04-26
1 parent a1afe6c commit fbfdc60

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

tests/ui/vec_opaque.stderr

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,16 @@ error[E0271]: type mismatch resolving `<Job as ExternType>::Kind == Trivial`
1414
--> tests/ui/vec_opaque.rs:22:14
1515
|
1616
22 | type Job = crate::handle::Job;
17-
| ^^^ expected `Trivial`, found `Opaque`
17+
| ^^^ type mismatch resolving `<Job as ExternType>::Kind == Trivial`
1818
|
19+
note: expected this to be `Trivial`
20+
--> tests/ui/vec_opaque.rs:1:1
21+
|
22+
1 | #[cxx::bridge]
23+
| ^^^^^^^^^^^^^^
1924
note: required by a bound in `verify_extern_kind`
2025
--> src/extern_type.rs
2126
|
2227
| pub fn verify_extern_kind<T: ExternType<Kind = Kind>, Kind: self::Kind>() {}
2328
| ^^^^^^^^^^^ required by this bound in `verify_extern_kind`
29+
= note: this error originates in the attribute macro `cxx::bridge` (in Nightly builds, run with -Z macro-backtrace for more info)

tests/ui/wrong_type_id.stderr

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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
|
44
11 | 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)`
914
note: 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

Comments
 (0)