Skip to content

Commit a5f99d2

Browse files
committed
Update ui test suite to nightly-2026-08-22
1 parent 7589235 commit a5f99d2

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

‎tests/ui/submit-unrecognized.stderr‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error[E0277]: the trait bound `Thing: inventory::ErasedNode` is not satisfied
1+
error[E0277]: the trait bound `&Thing: CoerceUnsized<&dyn inventory::ErasedNode>` is not satisfied
22
--> tests/ui/submit-unrecognized.rs:3:1
33
|
44
3 | inventory::submit!(Thing);
@@ -10,5 +10,11 @@ help: the trait `Collect` is not implemented for `Thing`
1010
1 | pub struct Thing;
1111
| ^^^^^^^^^^^^^^^^
1212
= note: required for `Thing` to implement `inventory::ErasedNode`
13+
note: required because it appears within the type `Thing`
14+
--> tests/ui/submit-unrecognized.rs:1:12
15+
|
16+
1 | pub struct Thing;
17+
| ^^^^^
18+
= note: required for `&Thing` to implement `CoerceUnsized<&dyn inventory::ErasedNode>`
1319
= note: required for the cast from `&Thing` to `&'static (dyn inventory::ErasedNode + 'static)`
1420
= note: this error originates in the macro `$crate::__do_submit` which comes from the expansion of the macro `inventory::submit` (in Nightly builds, run with -Z macro-backtrace for more info)

0 commit comments

Comments
 (0)