diff options
Diffstat (limited to 'games-rpg/rpg-cli/files/rpg-cli-1.0.0-clap.patch')
-rw-r--r-- | games-rpg/rpg-cli/files/rpg-cli-1.0.0-clap.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/games-rpg/rpg-cli/files/rpg-cli-1.0.0-clap.patch b/games-rpg/rpg-cli/files/rpg-cli-1.0.0-clap.patch new file mode 100644 index 000000000000..780ff8b40e8a --- /dev/null +++ b/games-rpg/rpg-cli/files/rpg-cli-1.0.0-clap.patch @@ -0,0 +1,20 @@ +Fix build + +error[E0658]: arbitrary expressions in key-value attributes are unstable + --> /mnt/portagetmp/portage/games-rpg/rpg-cli-1.0.0/work/cargo_home/gentoo/clap-3.0.0-beta.4/src/lib.rs:8:10 + | +8 | #![doc = include_str!("../README.md")] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | + = note: see issue #78835 <https://github.com/rust-lang/rust/issues/78835> for more information + +--- a/src/lib.rs ++++ b/src/lib.rs +@@ -5,7 +5,6 @@ + + #![doc(html_logo_url = "https://clap.rs/images/media/clap.png")] + #![doc(html_root_url = "https://docs.rs/clap/3.0.0-beta.4")] +-#![doc = include_str!("../README.md")] + //! <https://github.com/clap-rs/clap> + #![crate_type = "lib"] + #![deny( |