diff options
| author | Simonas Kazlauskas <git@kazlauskas.me> | 2015-02-21 13:28:28 +0200 |
|---|---|---|
| committer | Simonas Kazlauskas <git@kazlauskas.me> | 2015-02-21 16:27:55 +0200 |
| commit | e3104d8f0c3ceb3b268cd6ddc5e91f355e44a7c5 (patch) | |
| tree | e65a99a9cf734503c69bdcdc4689715f381e1801 /src/test/parse-fail/trailing-plus-in-bounds.rs | |
| parent | 522d09dfecbeca1595f25ac58c6d0178bbd21d7d (diff) | |
| download | rust-e3104d8f0c3ceb3b268cd6ddc5e91f355e44a7c5.tar.gz rust-e3104d8f0c3ceb3b268cd6ddc5e91f355e44a7c5.zip | |
Kill fmt::Show and fmt::String with fire!
Toss the tomatoes!
Diffstat (limited to 'src/test/parse-fail/trailing-plus-in-bounds.rs')
| -rw-r--r-- | src/test/parse-fail/trailing-plus-in-bounds.rs | 5 |
1 files changed, 2 insertions, 3 deletions
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<Show+> = box 3 as Box<Show+>; + let x: Box<Debug+> = box 3 as Box<Debug+>; //~^ ERROR at least one type parameter bound must be specified //~^^ ERROR at least one type parameter bound must be specified } - |
