about summary refs log tree commit diff
path: root/src/test/run-pass/multidispatch2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/multidispatch2.rs')
-rw-r--r--src/test/run-pass/multidispatch2.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-pass/multidispatch2.rs b/src/test/run-pass/multidispatch2.rs
index 1aa15cc5983..0c2652e6a7c 100644
--- a/src/test/run-pass/multidispatch2.rs
+++ b/src/test/run-pass/multidispatch2.rs
@@ -8,7 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-use std::fmt::Show;
+use std::fmt::Debug;
 use std::default::Default;
 
 trait MyTrait<T> {
@@ -34,7 +34,7 @@ impl MyTrait<uint> for MyType {
 }
 
 fn test_eq<T,M>(m: M, v: T)
-where T : Eq + Show,
+where T : Eq + Debug,
       M : MyTrait<T>
 {
     assert_eq!(m.get(), v);