Home
last modified time | relevance | path

Searched defs:OptionOccurrence (Results 1 – 1 of 1) sorted by relevance

/third_party/rust/rust/src/tools/clippy/clippy_lints/src/
Doption_if_let_else.rs92 struct OptionOccurrence { struct
93 option: String,
94 method_sugg: String,
95 some_expr: String,
96 none_expr: String,
120 ) -> Option<OptionOccurrence> { in try_get_option_occurrence()
207 …ect_option_if_let_else<'tcx>(cx: &LateContext<'tcx>, expr: &Expr<'tcx>) -> Option<OptionOccurrence… in detect_option_if_let_else()
222 fn detect_option_match<'tcx>(cx: &LateContext<'tcx>, expr: &Expr<'tcx>) -> Option<OptionOccurrence> in detect_option_match()