diff options
| author | Ariel Ben-Yehuda <ariel.byd@gmail.com> | 2018-12-03 01:43:00 +0200 |
|---|---|---|
| committer | Ariel Ben-Yehuda <ariel.byd@gmail.com> | 2018-12-15 00:41:29 +0200 |
| commit | 0152d33bc1aa2e57800cc68c811f843e9aa6676d (patch) | |
| tree | 0eaf51238ca956d634168f0de27ac4e0187a8d6e | |
| parent | 12c17f91103c125397d4a95212349f226ddba3bd (diff) | |
| download | rust-0152d33bc1aa2e57800cc68c811f843e9aa6676d.tar.gz rust-0152d33bc1aa2e57800cc68c811f843e9aa6676d.zip | |
fix Rc -> Lrc
| -rw-r--r-- | src/librustc_typeck/check/method/probe.rs | 3 |
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 { |
