about summary refs log tree commit diff
path: root/src/test/run-pass/while-let.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/while-let.rs')
-rw-r--r--src/test/run-pass/while-let.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/run-pass/while-let.rs b/src/test/run-pass/while-let.rs
index 41f54d47ad4..449b3099dfa 100644
--- a/src/test/run-pass/while-let.rs
+++ b/src/test/run-pass/while-let.rs
@@ -10,10 +10,10 @@
 
 #![feature(while_let)]
 
-use std::collections::PriorityQueue;
+use std::collections::BinaryHeap;
 
-fn make_pq() -> PriorityQueue<int> {
-    PriorityQueue::from_vec(vec![1i,2,3])
+fn make_pq() -> BinaryHeap<int> {
+    BinaryHeap::from_vec(vec![1i,2,3])
 }
 
 pub fn main() {