Subject: [PATCH v2 2/8] gnu: Enables building rust-proc-macro2-diagnostics-0.10.

From: Aaron Covrig <[email-masked]>
Date: Fri, 5 Apr 2024 20:44:32 -0400

* gnu/packages/crates-io.scm (rust-proc-macro2-diagnostics-0.10): Enables building

Signed-off-by: Aaron Covrig <[email-masked]>
---
 gnu/packages/crates-io.scm | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 36b5eb5496..365d82aef2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -55834,13 +55834,14 @@ (define-public rust-proc-macro2-diagnostics-0.10
         (base32 "1j48ipc80pykvhx6yhndfa774s58ax1h6sm6mlhf09ls76f6l1mg"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:tests? #f  ; cannot determine resolution for the macro `diagnostic_item`
+     `(#:cargo-test-flags '("--" "--skip=main")
        #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
                        ("rust-quote" ,rust-quote-1)
                        ("rust-syn" ,rust-syn-2)
-                       ("rust-version-check" ,rust-version-check-0.9)
-                       ("rust-yansi" ,rust-yansi-1))
-       #:cargo-development-inputs (("rust-trybuild" ,rust-trybuild-1))))
+                       ("rust-yansi" ,rust-yansi-1)
+                       ("rust-version-check" ,rust-version-check-0.9))
+       #:cargo-development-inputs (("rust-trybuild" ,rust-trybuild-1)
+                                   ("rust-version-check" ,rust-version-check-0.9))))
     (home-page "https://github.com/SergioBenitez/proc-macro2-diagnostics")
     (synopsis "Diagnostics for proc-macro2")
     (description "Diagnostics for stable and nightly proc-macros!")
-- 
2.41.0