0001-Permit-warnings-inside-error-chain-expansion.patch 760 B

12345678910111213141516171819202122232425
  1. From d90cef58439bcd14426d64b16599e060cd6464f9 Mon Sep 17 00:00:00 2001
  2. From: Mark Simulacrum <mark.simulacrum@gmail.com>
  3. Date: Wed, 20 Jun 2018 16:54:40 -0600
  4. Subject: [PATCH] Permit warnings inside error-chain expansion
  5. Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
  6. ---
  7. src/main.rs | 1 +
  8. 1 file changed, 1 insertion(+)
  9. diff --git rust-1.27.1.orig/src/tools/rust-installer/src/main.rs rust-1.27.1/src/tools/rust-installer/src/main.rs
  10. index cabffb8..007ed71 100644
  11. --- rust-1.27.1.orig/src/tools/rust-installer/src/main.rs
  12. +++ rust-1.27.1/src/tools/rust-installer/src/main.rs
  13. @@ -7,6 +7,7 @@ extern crate installer;
  14. use errors::*;
  15. use clap::{App, ArgMatches};
  16. +#[allow(warnings)]
  17. mod errors {
  18. error_chain!{
  19. links {
  20. --
  21. 2.11.0