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