diff --git a/src/libcore/tuple.rs b/src/libcore/tuple.rs index 899b16eb132..ee9e0c84be6 100644 --- a/src/libcore/tuple.rs +++ b/src/libcore/tuple.rs @@ -165,7 +165,7 @@ impl (A, B, C) : Ord { #[test] fn test_tuple_ref() { - let (~"foo", ~"bar"); + let x = (~"foo", ~"bar"); assert x.first_ref() == &~"foo"; assert x.second_ref() == &~"bar"; }