Home
last modified time | relevance | path

Searched refs:TryDesugar (Results 1 – 14 of 14) sorted by relevance

/dports/lang/rust/rustc-1.58.1-src/src/tools/clippy/clippy_lints/src/
H A Dtry_err.rs64 if let ExprKind::Match(match_arg, _, MatchSource::TryDesugar) = expr.kind; in check_expr()
132 if let ExprKind::Match(_, arms, MatchSource::TryDesugar) = expr { in find_return_type()
H A Dneedless_question_mark.rs99 if let ExprKind::Match(inner_expr_with_q, _, MatchSource::TryDesugar) = &arg.kind; in check()
H A Duseless_conversion.rs55 ExprKind::Match(_, arms, MatchSource::TryDesugar) => { in check_expr()
H A Ddereference.rs215 | ExprKind::Match(_, _, MatchSource::TryDesugar | MatchSource::AwaitDesugar) in is_linted_explicit_deref_position()
/dports/lang/rust/rustc-1.58.1-src/src/tools/clippy/clippy_lints/src/methods/
H A Dclone_on_copy.rs90 ExprKind::Match(_, _, MatchSource::TryDesugar | MatchSource::AwaitDesugar) in check()
/dports/lang/rust/rustc-1.58.1-src/src/tools/clippy/clippy_lints/src/unit_types/
H A Dunit_arg.rs40 ExprKind::Match(.., MatchSource::TryDesugar) | ExprKind::Path(..) in check()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_passes/src/
H A Dcheck_const.rs48 Self::Match(TryDesugar) => &[sym::const_try], in required_feature_gates()
/dports/lang/rust/rustc-1.58.1-src/src/tools/clippy/clippy_utils/src/
H A Dvisitors.rs27 hir::ExprKind::Match(_, _, hir::MatchSource::TryDesugar) => self.found = true, in contains_try()
H A Dlib.rs1506 if *source == MatchSource::TryDesugar { in is_try()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_infer/src/infer/error_reporting/
H A Dmod.rs640 hir::MatchSource::TryDesugar => { in note_error_origin()
2035 if let hir::MatchSource::TryDesugar = source { in report_and_explain_type_error()
2634 hir::MatchSource::TryDesugar => "`?` operator has incompatible types", in as_failure_code()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_mir_build/src/thir/pattern/
H A Dcheck_match.rs204 hir::MatchSource::AwaitDesugar | hir::MatchSource::TryDesugar => {} in check_match()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_hir/src/
H A Dhir.rs1851 TryDesugar, enumerator
1863 TryDesugar => "?", in name()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_typeck/src/check/
H A Dcoercion.rs1554 hir::ExprKind::Match(.., hir::MatchSource::TryDesugar) in report_return_mismatched_types()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_ast_lowering/src/
H A Dexpr.rs1528 hir::MatchSource::TryDesugar, in lower_expr_try()