Home
last modified time | relevance | path

Searched refs:ty_bounds (Results 1 – 3 of 3) sorted by relevance

/dports/lang/rust/rustc-1.58.1-src/src/tools/clippy/clippy_lints/src/
H A Ddefault_numeric_fallback.rs65 ty_bounds: Vec<TyBound<'tcx>>, field
73 ty_bounds: vec![TyBound::Nothing], in new()
82 if let Some(ty_bound) = self.ty_bounds.last(); in check_lit()
130 self.ty_bounds.pop(); in visit_expr()
142 self.ty_bounds.pop(); in visit_expr()
169 self.ty_bounds.pop(); in visit_expr()
176 self.ty_bounds.pop(); in visit_expr()
199 self.ty_bounds.push(TyBound::Any); in visit_stmt()
201 self.ty_bounds.push(TyBound::Nothing); in visit_stmt()
205 _ => self.ty_bounds.push(TyBound::Nothing), in visit_stmt()
[all …]
/dports/lang/rust/rustc-1.58.1-src/src/librustdoc/clean/
H A Dinline.rs655 let mut ty_bounds = Vec::new(); in separate_supertrait_bounds() localVariable
660 ty_bounds.extend(bounds.iter().cloned()); in separate_supertrait_bounds()
665 (g, ty_bounds) in separate_supertrait_bounds()
H A Dmod.rs513 GenericParamDefKind::Type { bounds: ref mut ty_bounds, .. } => { in clean()
515 mem::swap(bounds, ty_bounds); in clean()