Skip to content

Commit 995e722

Browse files
committed
tests: update missing_pin_data error expectation
Update the expected compiler error output for the missing_pin_data UI test to match the current Rust compiler's actual error message format. The compiler no longer includes the 'help' suggestion that was previously part of the error output. This resolves test failures caused by changes in compiler error message formatting between Rust versions.
1 parent 6bd024e commit 995e722

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tests/ui/compile-fail/init/missing_pin_data.stderr

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,3 @@ error[E0599]: no associated item named `__pin_data` found for struct `Foo` in th
1111
= note: the following trait defines an item `__pin_data`, perhaps you need to implement it:
1212
candidate #1: `HasPinData`
1313
= note: this error originates in the macro `$crate::try_pin_init` which comes from the expansion of the macro `pin_init` (in Nightly builds, run with -Z macro-backtrace for more info)
14-
help: there is an associated function `__init_data` with a similar name
15-
--> src/lib.rs
16-
|
17-
- @has_data(HasPinData, __pin_data),
18-
+ @has_data(HasPinData, __init_data),
19-
|

0 commit comments

Comments
 (0)