[Bug 1902397] Review Request: rust-dummy - Macros implementation of #[derive(Dummy)]

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

 



https://bugzilla.redhat.com/show_bug.cgi?id=1902397



--- Comment #1 from Olivier Lemasle <o.lemasle@xxxxxxxxx> ---
It does not build in mock:

     Running `/usr/bin/rustc --crate-name dummy --edition=2018 src/lib.rs
--error-format=json --json=diagnostic-rendered-ansi --crate-type proc-macro
--emit=dep-info,link -C prefer-dynamic -C opt-level=3 -C embed-bitcode=no -C
metadata=34e7f9c5fb098e3e -C extra-filename=-34e7f9c5fb098e3e --out-dir
/builddir/build/BUILD/dummy-0.3.3/target/release/deps -L
dependency=/builddir/build/BUILD/dummy-0.3.3/target/release/deps --extern
darling=/builddir/build/BUILD/dummy-0.3.3/target/release/deps/libdarling-991f04f44011cefa.rlib
--extern
quote=/builddir/build/BUILD/dummy-0.3.3/target/release/deps/libquote-9b517b766eaaf53c.rlib
--extern
syn=/builddir/build/BUILD/dummy-0.3.3/target/release/deps/libsyn-6eb5363a317fe24a.rlib
--extern proc_macro -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now
-Ccodegen-units=1 --cap-lints=warn`
error: pattern requires `..` due to inaccessible fields
  --> src/lib.rs:51:36
   |
51 |           darling::ast::Data::Struct(darling::ast::Fields {
   |  ____________________________________^
52 | |             ref fields,
53 | |             ref style,
54 | |         }) => match style {
   | |_________^
   |
help: ignore the inaccessible and unused fields
   |
53 |             ref style, ..,
   |                      ^^^^
error: aborting due to previous error
error: could not compile `dummy`


However, it seems it work with latest upstream release (0.4.0).


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux