diff options
author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2023-10-24 11:06:16 +0200 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2023-10-25 14:30:35 +0200 |
commit | c056d6287b0616aea9bc9fab43bcca97d0e86d23 (patch) | |
tree | c2508394ec80082039e6d2fe1c7217f50c0c98af /testing/tests | |
parent | c3281e353d8192e6425f903216eeb6ecf9dd39fc (diff) | |
download | askama-c056d6287b0616aea9bc9fab43bcca97d0e86d23.tar.gz askama-c056d6287b0616aea9bc9fab43bcca97d0e86d23.tar.bz2 askama-c056d6287b0616aea9bc9fab43bcca97d0e86d23.zip |
Improve error for invalid name used in `endmacro`
Diffstat (limited to 'testing/tests')
-rw-r--r-- | testing/tests/ui/name_mismatch_endmacro.stderr | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/tests/ui/name_mismatch_endmacro.stderr b/testing/tests/ui/name_mismatch_endmacro.stderr index ef389a2..74101a4 100644 --- a/testing/tests/ui/name_mismatch_endmacro.stderr +++ b/testing/tests/ui/name_mismatch_endmacro.stderr @@ -1,4 +1,5 @@ -error: problems parsing template source at row 1, column 41 near: +error: expected name `foo` in `endmacro` tag, found `not_foo` + problems parsing template source at row 1, column 41 near: "not_foo %}" --> tests/ui/name_mismatch_endmacro.rs:3:10 | |