diff --git a/statig/Cargo.toml b/statig/Cargo.toml index 9238840..379b8d4 100644 --- a/statig/Cargo.toml +++ b/statig/Cargo.toml @@ -22,7 +22,7 @@ futures = { version = "0.3.26" } serde_json = "1.0.91" serde = { version = "1.0.152", features = ["derive"] } unit-enum = { git = "https://github.com/mdeloof/unit-enum.git" } -trybuild = "1.0.90" +trybuild = "1.0.108" [features] default = ["macro"] diff --git a/statig/tests/ui/custom_state_derive_error.stderr b/statig/tests/ui/custom_state_derive_error.stderr index ce7df93..4b02e2c 100644 --- a/statig/tests/ui/custom_state_derive_error.stderr +++ b/statig/tests/ui/custom_state_derive_error.stderr @@ -7,7 +7,7 @@ error: Can not use `custom` with derives error[E0599]: the method `state_machine` exists for struct `Blinky`, but its trait bounds were not satisfied --> tests/ui/custom_state_derive_error.rs:51:47 | -6 | pub struct Blinky {} + 6 | pub struct Blinky {} | ----------------- method `state_machine` not found for this struct because it doesn't satisfy `Blinky: statig::awaitable::IntoStateMachineExt`, `Blinky: statig::awaitable::IntoStateMachine`, `Blinky: statig::blocking::IntoStateMachineExt` or `Blinky: statig::blocking::IntoStateMachine` ... 51 | let mut state_machine = Blinky::default().state_machine();