From 81dfab4450cc631addea03af89111318abdd3533 Mon Sep 17 00:00:00 2001 From: Tim Neumann Date: Wed, 26 Oct 2016 17:25:15 +0200 Subject: [PATCH] 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). --- tests/cargotest/support/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cargotest/support/mod.rs b/tests/cargotest/support/mod.rs index 6de6df19764..e647b7af021 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 {