Searched refs:FnSelfUseKind (Results 1 – 3 of 3) sorted by relevance
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_borrowck/src/diagnostics/ |
H A D | mod.rs | 565 kind: FnSelfUseKind<'tcx>, 574 pub(super) enum FnSelfUseKind<'tcx> { enum 603 fn_call_span, kind: FnSelfUseKind::DerefCoercion { .. }, .. in args_or_use() 616 fn_call_span, kind: FnSelfUseKind::DerefCoercion { .. }, .. in var_or_use_path_span() 629 fn_call_span, kind: FnSelfUseKind::DerefCoercion { .. }, .. in var_or_use() 929 Some(FnSelfUseKind::FnOnceCall) in move_spans() 931 Some(FnSelfUseKind::Operator { self_arg }) in move_spans() 940 Some(FnSelfUseKind::DerefCoercion { in move_spans() 966 FnSelfUseKind::Normal { self_arg, implicit_into_iter, is_option_or_result } in move_spans()
|
H A D | conflict_errors.rs | 26 explain_borrow::BorrowExplanation, FnSelfUseKind, IncludingDowncast, RegionName, 196 FnSelfUseKind::FnOnceCall => { in report_use_of_moved_or_uninitialized() 209 FnSelfUseKind::Operator { self_arg } => { in report_use_of_moved_or_uninitialized() 236 FnSelfUseKind::Normal { in report_use_of_moved_or_uninitialized() 307 FnSelfUseKind::DerefCoercion { .. } => unreachable!(), in report_use_of_moved_or_uninitialized() 433 kind: FnSelfUseKind::DerefCoercion { deref_target, deref_target_ty }, in report_use_of_moved_or_uninitialized()
|
H A D | move_errors.rs | 11 use crate::diagnostics::{FnSelfUseKind, UseSpans}; 413 kind: FnSelfUseKind::Normal { implicit_into_iter: true, .. }, in report_cannot_move_from_borrowed_content()
|