about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAriel Ben-Yehuda <ariel.byd@gmail.com>2018-12-03 01:43:00 +0200
committerAriel Ben-Yehuda <ariel.byd@gmail.com>2018-12-15 00:41:29 +0200
commit0152d33bc1aa2e57800cc68c811f843e9aa6676d (patch)
tree0eaf51238ca956d634168f0de27ac4e0187a8d6e
parent12c17f91103c125397d4a95212349f226ddba3bd (diff)
downloadrust-0152d33bc1aa2e57800cc68c811f843e9aa6676d.tar.gz
rust-0152d33bc1aa2e57800cc68c811f843e9aa6676d.zip
fix Rc -> Lrc
-rw-r--r--src/librustc_typeck/check/method/probe.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librustc_typeck/check/method/probe.rs b/src/librustc_typeck/check/method/probe.rs
index 29fd9f5f71e..573253c2e1b 100644
--- a/src/librustc_typeck/check/method/probe.rs
+++ b/src/librustc_typeck/check/method/probe.rs
@@ -42,7 +42,6 @@ use syntax_pos::{DUMMY_SP, Span, symbol::Symbol};
 use std::iter;
 use std::mem;
 use std::ops::Deref;
-use std::rc::Rc;
 use std::cmp::max;
 
 use self::CandidateKind::*;
@@ -448,7 +447,7 @@ impl<'a, 'gcx, 'tcx> ProbeContext<'a, 'gcx, 'tcx> {
            method_name: Option<ast::Ident>,
            return_type: Option<Ty<'tcx>>,
            orig_steps_var_values: OriginalQueryValues<'tcx>,
-           steps: Rc<Vec<CandidateStep<'gcx>>>,
+           steps: Lrc<Vec<CandidateStep<'gcx>>>,
            is_suggestion: IsSuggestion)
            -> ProbeContext<'a, 'gcx, 'tcx> {
         ProbeContext {