From: Tim Neumann Date: Wed, 26 Oct 2016 15:25:15 +0000 (+0200) Subject: Fix rust-lang/rust#35203 warning/error X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~13^2~27^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=81dfab4450cc631addea03af89111318abdd3533;p=cargo.git Fix rust-lang/rust#35203 warning/error rust-lang/rust#35203 made patterns in functions without body into a warn by default lint (which is being `deny`ed here). --- diff --git a/tests/cargotest/support/mod.rs b/tests/cargotest/support/mod.rs index 6de6df197..e647b7af0 100644 --- a/tests/cargotest/support/mod.rs +++ b/tests/cargotest/support/mod.rs @@ -608,7 +608,7 @@ pub fn shell_writes(string: T) -> ShellWrites { } pub trait Tap { - fn tap(mut self, callback: F) -> Self; + fn tap(self, callback: F) -> Self; } impl Tap for T {