aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/ui/no_template_attribute.rs
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/ui/no_template_attribute.rs')
-rw-r--r--testing/tests/ui/no_template_attribute.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/tests/ui/no_template_attribute.rs b/testing/tests/ui/no_template_attribute.rs
new file mode 100644
index 0000000..d369434
--- /dev/null
+++ b/testing/tests/ui/no_template_attribute.rs
@@ -0,0 +1,7 @@
+use askama::Template;
+
+#[derive(Template)]
+struct NoTemplate;
+
+fn main() {
+}