Skip to content

Commit 0152d33

Browse files
committed
fix Rc -> Lrc
1 parent 12c17f9 commit 0152d33

File tree

1 file changed

+1
-2
lines changed
  • src/librustc_typeck/check/method

1 file changed

+1
-2
lines changed

src/librustc_typeck/check/method/probe.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ use syntax_pos::{DUMMY_SP, Span, symbol::Symbol};
4242
use std::iter;
4343
use std::mem;
4444
use std::ops::Deref;
45-
use std::rc::Rc;
4645
use std::cmp::max;
4746

4847
use self::CandidateKind::*;
@@ -448,7 +447,7 @@ impl<'a, 'gcx, 'tcx> ProbeContext<'a, 'gcx, 'tcx> {
448447
method_name: Option<ast::Ident>,
449448
return_type: Option<Ty<'tcx>>,
450449
orig_steps_var_values: OriginalQueryValues<'tcx>,
451-
steps: Rc<Vec<CandidateStep<'gcx>>>,
450+
steps: Lrc<Vec<CandidateStep<'gcx>>>,
452451
is_suggestion: IsSuggestion)
453452
-> ProbeContext<'a, 'gcx, 'tcx> {
454453
ProbeContext {

0 commit comments

Comments
 (0)