guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#53208] [PATCH 37/39] gnu: rust-pulldown-cmark-0.8: update #:cargo-i


From: Z572
Subject: [bug#53208] [PATCH 37/39] gnu: rust-pulldown-cmark-0.8: update #:cargo-inputs rust-bitflags.
Date: Wed, 12 Jan 2022 23:27:57 +0800

* gnu/packages/crates-io.scm (rust-pulldown-cmark-0.8):
[arguments]: <#:cargo-inputs>: Use rust-bitflags-1.3 replace rust-bitflags-1.

rust-analyzer need rust-pulldown-cmark-0.8 use rust-bitflags-1.3 build,
else:

error[E0599]: no method named `union` found for struct 
`pulldown_cmark::Options` in the current scope
  --> crates/ide/src/doc_links.rs:36:31
   |
36 |     
Options::ENABLE_FOOTNOTES.union(Options::ENABLE_TABLES).union(Options::ENABLE_TASKLISTS);
   |                               ^^^^^ method not found in 
`pulldown_cmark::Options`
---
 gnu/packages/crates-io.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 57c348fb0f..0aece30beb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41266,7 +41266,10 @@ (define-public rust-pulldown-cmark-0.8
     (arguments
       `(#:skip-build? #t
         #:cargo-inputs
-        (("rust-bitflags" ,rust-bitflags-1)
+        (;; use rust-bitflags-1.3 make rust-analyzer build success
+         ;; else build rust-analyzer sey: no method named `union` found for
+         ;; struct `pulldown_cmark::Options` in the current scope
+         ("rust-bitflags" ,rust-bitflags-1.3)
          ("rust-getopts" ,rust-getopts-0.2)
          ("rust-memchr" ,rust-memchr-2)
          ("rust-unicase" ,rust-unicase-2))
-- 
2.34.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]