Skip to content

Commit

Permalink
Clarify the expected trait in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
sporkmonger committed Mar 13, 2024
1 parent 7878698 commit 65d8c9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/wasm-sdk-macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ pub fn bulwark_plugin(_: TokenStream, input: TokenStream) -> TokenStream {
return syn::Error::new(
path.span(),
format!(
"`bulwark_plugin` encountered unexpected trait `{}` for the impl",
"`bulwark_plugin` expected `HttpHandlers` trait, encountered unexpected trait `{}` for the impl",
trait_name
),
)
Expand Down

0 comments on commit 65d8c9e

Please sign in to comment.