Skip to content

Commit

Permalink
update trybuild error
Browse files Browse the repository at this point in the history
  • Loading branch information
mellowagain committed Nov 22, 2023
1 parent 8e18486 commit 516f3c9
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions autometrics/tests/result_labels/fail/async_trait_support.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,16 @@ error: #[async_trait] must be defined BEFORE #[autometrics]
= note: this error originates in the attribute macro `autometrics` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: the trait bound `TestStruct: TestTrait` is not satisfied
--> tests/result_labels/fail/async_trait_support.rs:31:9
--> tests/result_labels/fail/async_trait_support.rs:31:10
|
31 | <TestStruct as TestTrait>::method().await;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `TestTrait` is not implemented for `TestStruct`
| ^^^^^^^^^^ the trait `TestTrait` is not implemented for `TestStruct`
|
help: this trait has no implementations, consider adding one
--> tests/result_labels/fail/async_trait_support.rs:7:1
|
7 | trait TestTrait {
| ^^^^^^^^^^^^^^^

error[E0599]: no method named `self_method` found for struct `TestStruct` in the current scope
--> tests/result_labels/fail/async_trait_support.rs:32:12
Expand Down

0 comments on commit 516f3c9

Please sign in to comment.