about summary refs log tree commit diff
path: root/tvix/nix-compat-derive-tests/tests/ui/parse_bad_version.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/nix-compat-derive-tests/tests/ui/parse_bad_version.stderr')
-rw-r--r--tvix/nix-compat-derive-tests/tests/ui/parse_bad_version.stderr5
1 files changed, 5 insertions, 0 deletions
diff --git a/tvix/nix-compat-derive-tests/tests/ui/parse_bad_version.stderr b/tvix/nix-compat-derive-tests/tests/ui/parse_bad_version.stderr
new file mode 100644
index 000000000000..48cc817fac9d
--- /dev/null
+++ b/tvix/nix-compat-derive-tests/tests/ui/parse_bad_version.stderr
@@ -0,0 +1,5 @@
+error: expected nix attribute version to be string
+ --> tests/ui/parse_bad_version.rs:5:21
+  |
+5 |     #[nix(version = 12)]
+  |                     ^^