diff --git a/plugins/cairo-lang-macro/tests/args/args_01.rs b/plugins/cairo-lang-macro/tests/args/args_01.rs index 177416464..8c981619d 100644 --- a/plugins/cairo-lang-macro/tests/args/args_01.rs +++ b/plugins/cairo-lang-macro/tests/args/args_01.rs @@ -1,6 +1,6 @@ use cairo_lang_macro::{attribute_macro, ProcMacroResult, TokenStream}; -#[attribute_macro(path = "some::path")] +#[attribute_macro(unsupported_key = "some::path")] fn t1(_a: TokenStream, _b: TokenStream) -> ProcMacroResult { ProcMacroResult::new(TokenStream::empty()) } diff --git a/plugins/cairo-lang-macro/tests/args/args_01.stderr b/plugins/cairo-lang-macro/tests/args/args_01.stderr index ac4546ea8..1edf93be5 100644 --- a/plugins/cairo-lang-macro/tests/args/args_01.stderr +++ b/plugins/cairo-lang-macro/tests/args/args_01.stderr @@ -1,8 +1,8 @@ error: only `parent` argument is supported - --> tests/args/args_01.rs:3:24 + --> tests/args/args_01.rs:3:35 | -3 | #[attribute_macro(path = "some::path")] - | ^ +3 | #[attribute_macro(unsupported_key = "some::path")] + | ^ warning: unused imports: `ProcMacroResult` and `TokenStream` --> tests/args/args_01.rs:1:41