mirror of
https://github.com/askama-rs/askama.git
synced 2025-09-30 14:31:36 +00:00
30 lines
994 B
Plaintext
30 lines
994 B
Plaintext
error: macro "thrice" expected 1 argument, found 2
|
|
--> InvalidNumberOfArgs.html:5:2
|
|
"- call thrice(2, 3) -%}"
|
|
--> tests/ui/macro.rs:3:10
|
|
|
|
|
3 | #[derive(Template)]
|
|
| ^^^^^^^^
|
|
|
|
|
= note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
error: macro "thrice" expected 2 arguments, found 0
|
|
--> InvalidNumberOfArgs2.html:5:2
|
|
"- call thrice() -%}"
|
|
--> tests/ui/macro.rs:11:10
|
|
|
|
|
11 | #[derive(Template)]
|
|
| ^^^^^^^^
|
|
|
|
|
= note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
error: macro "thrice" expected 0 arguments, found 2
|
|
--> InvalidNumberOfArgs3.html:4:2
|
|
"- call thrice(1, 2) -%}"
|
|
--> tests/ui/macro.rs:19:10
|
|
|
|
|
19 | #[derive(Template)]
|
|
| ^^^^^^^^
|
|
|
|
|
= note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info)
|