diff options
author | 2021-11-30 13:54:29 +0100 | |
---|---|---|
committer | 2021-12-01 01:13:09 -0800 | |
commit | 671bc7f32fd150f04793d8d5dbe806e9d4cfe669 (patch) | |
tree | ae8db79ee0d9bd45de13b08972a046296dc1775b /testing/tests/ui/1.54_to_1.57 | |
parent | 3d82b59a2ae58e9c438315273f204fc2783eb0d3 (diff) | |
download | askama-671bc7f32fd150f04793d8d5dbe806e9d4cfe669.tar.gz askama-671bc7f32fd150f04793d8d5dbe806e9d4cfe669.tar.bz2 askama-671bc7f32fd150f04793d8d5dbe806e9d4cfe669.zip |
Fix tests for new error messages in Rust nightly
Diffstat (limited to 'testing/tests/ui/1.54_to_1.57')
l--------- | testing/tests/ui/1.54_to_1.57/incorrect_path.rs | 1 | ||||
-rw-r--r-- | testing/tests/ui/1.54_to_1.57/incorrect_path.stderr | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/testing/tests/ui/1.54_to_1.57/incorrect_path.rs b/testing/tests/ui/1.54_to_1.57/incorrect_path.rs new file mode 120000 index 0000000..ee3ef39 --- /dev/null +++ b/testing/tests/ui/1.54_to_1.57/incorrect_path.rs @@ -0,0 +1 @@ +../before_1.54/incorrect_path.rs
\ No newline at end of file diff --git a/testing/tests/ui/1.54_to_1.57/incorrect_path.stderr b/testing/tests/ui/1.54_to_1.57/incorrect_path.stderr new file mode 100644 index 0000000..e3d7ca4 --- /dev/null +++ b/testing/tests/ui/1.54_to_1.57/incorrect_path.stderr @@ -0,0 +1,7 @@ +error: template "thisdoesnotexist.html" not found in directories ["$WORKSPACE/target/tests/askama_testing/templates"] + --> $DIR/incorrect_path.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) |