From e3104d8f0c3ceb3b268cd6ddc5e91f355e44a7c5 Mon Sep 17 00:00:00 2001 From: Simonas Kazlauskas Date: Sat, 21 Feb 2015 13:28:28 +0200 Subject: Kill fmt::Show and fmt::String with fire! Toss the tomatoes! --- src/test/parse-fail/trailing-plus-in-bounds.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/test/parse-fail') diff --git a/src/test/parse-fail/trailing-plus-in-bounds.rs b/src/test/parse-fail/trailing-plus-in-bounds.rs index e8f9ed4d2cf..8febbf8309e 100644 --- a/src/test/parse-fail/trailing-plus-in-bounds.rs +++ b/src/test/parse-fail/trailing-plus-in-bounds.rs @@ -8,11 +8,10 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -use std::fmt::Show; +use std::fmt::Debug; fn main() { - let x: Box = box 3 as Box; + let x: Box = box 3 as Box; //~^ ERROR at least one type parameter bound must be specified //~^^ ERROR at least one type parameter bound must be specified } - -- cgit 1.4.1-3-g733a5