aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/rl-next/dup-attr-errors.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/manual/rl-next/dup-attr-errors.md')
-rw-r--r--doc/manual/rl-next/dup-attr-errors.md24
1 files changed, 0 insertions, 24 deletions
diff --git a/doc/manual/rl-next/dup-attr-errors.md b/doc/manual/rl-next/dup-attr-errors.md
deleted file mode 100644
index 2b8a4fd09..000000000
--- a/doc/manual/rl-next/dup-attr-errors.md
+++ /dev/null
@@ -1,24 +0,0 @@
----
-synopsis: Duplicate attribute reports are more accurate
-cls: 557
-credits: horrors
-category: Improvements
----
-
-Duplicate attribute errors are now more accurate, showing the path at which an error was detected rather than the full, possibly longer, path that caused the error.
-Error reports are now
-```ShellSession
-$ nix eval --expr '{ a.b = 1; a.b.c.d = 1; }'
-error: attribute 'a.b' already defined at «string»:1:3
- at «string»:1:12:
- 1| { a.b = 1; a.b.c.d = 1;
- | ^
-```
-instead of
-```ShellSession
-$ nix eval --expr '{ a.b = 1; a.b.c.d = 1; }'
-error: attribute 'a.b.c.d' already defined at «string»:1:3
- at «string»:1:12:
- 1| { a.b = 1; a.b.c.d = 1;
- | ^
-```