records: Remove "guix" from error message.

* guix/records.scm (map-fields): Tweak error message.
This commit is contained in:
Ludovic Courtès 2023-06-09 14:00:51 +02:00
parent 56ad923f47
commit 1c9e992e8c
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

View File

@ -110,7 +110,7 @@ error-reporting purposes."
(syntax-case x ()
((_ type within)
(syntax-violation (syntax->datum #'within)
"undefined guix record-type"
"undefined record type"
#'type))
(_ (syntax-violation 'map-fields "bad use of syntactic keyword" x x)))))