--- /dev/null
+From ac3ffd15e1cf16059b4ccd90b7c816b078a621a5 Mon Sep 17 00:00:00 2001
+From: Mark Simulacrum <mark.simulacrum@gmail.com>
+Date: Wed, 20 Jun 2018 19:47:00 -0600
+Subject: [PATCH] Fix warnings in library from error-chain
+
+Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
+---
+ src/lib.rs | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git rust-1.27.1.orig/src/tools/rust-installer/src/lib.rs rust-1.27.1/src/tools/rust-installer/src/lib.rs
+index ff0495b..cc5e740 100644
+--- rust-1.27.1.orig/src/tools/rust-installer/src/lib.rs
++++ rust-1.27.1/src/tools/rust-installer/src/lib.rs
+@@ -22,6 +22,7 @@ extern crate winapi;
+ #[macro_use]
+ extern crate lazy_static;
+
++#[allow(warnings)]
+ mod errors {
+ error_chain!{
+ foreign_links {
+--
+2.11.0
+
--- /dev/null
+From d90cef58439bcd14426d64b16599e060cd6464f9 Mon Sep 17 00:00:00 2001
+From: Mark Simulacrum <mark.simulacrum@gmail.com>
+Date: Wed, 20 Jun 2018 16:54:40 -0600
+Subject: [PATCH] Permit warnings inside error-chain expansion
+
+Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
+---
+ src/main.rs | 1 +
+ 1 file changed, 1 insertion(+)
+
+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
+index cabffb8..007ed71 100644
+--- rust-1.27.1.orig/src/tools/rust-installer/src/main.rs
++++ rust-1.27.1/src/tools/rust-installer/src/main.rs
+@@ -7,6 +7,7 @@ extern crate installer;
+ use errors::*;
+ use clap::{App, ArgMatches};
+
++#[allow(warnings)]
+ mod errors {
+ error_chain!{
+ links {
+--
+2.11.0
+
-# From https://static.rust-lang.org/dist/rustc-1.25.0-src.tar.xz.sha256
-sha256 14fcb82d5959df758aaf422539359300917217fa8420e34bd596e3fb6ed2de87 rustc-1.25.0-src.tar.xz
+# From https://static.rust-lang.org/dist/rustc-1.27.1-src.tar.xz.sha256
+sha256 948e2645057960ee1c03d9f0e8f78133a5f73d9ca9a24bc56126e395a212d25c rustc-1.27.1-src.tar.xz
# Locally generated
sha256 a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2 LICENSE-APACHE
sha256 23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3 LICENSE-MIT
#
################################################################################
-RUST_VERSION = 1.25.0
+RUST_VERSION = 1.27.1
RUST_SOURCE = rustc-$(RUST_VERSION)-src.tar.xz
RUST_SITE = https://static.rust-lang.org/dist
RUST_LICENSE = Apache-2.0 or MIT