GNU bug report logs -
#53208
[PATCH]: gnu: rust-analyzer: Update to 2020-01-10.
Previous Next
Reported by: Z572 <873216071 <at> qq.com>
Date: Wed, 12 Jan 2022 15:25:01 UTC
Severity: normal
Tags: patch
Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Bug is archived. No further changes may be made.
Full log
Message #110 received at 53208 <at> debbugs.gnu.org (full text, mbox):
* 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
This bug report was last modified 3 years and 119 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.