warning: the trait `protocol::Godzilla` cannot be made into an object
--> /builds/49nord/public/humblegen-rs/example/target/debug/build/humblegen-example-project-c27ef743e98c866b/out/protocol.rs:168:14
|
166 | pub trait Godzilla {
| -------- this trait cannot be made into an object...
167 | type Context: Default + Sized + Send + Sync;
168 | async fn intercept_handler_pre(
| ^^^^^^^^^^^^^^^^^^^^^ ...because method `intercept_handler_pre` references the `Self` type in its `where` clause
|
= note: `#[warn(where_clauses_object_safety)]` on by default
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #51443 <https://github.com/rust-lang/rust/issues/51443>
= help: consider moving `intercept_handler_pre` to another trait