use rustc_data_structures::fx::FxHashMap; use rustc_hir::def::DefKind; use rustc_hir::def_id::{DefId, LocalDefId}; Expand Down Expand Up @@ -63,7 +65,7 @@ enum FnKind { } fn fn_kind<'tcx>(tcx: TyCtxt<'tcx>, def_id: DefId) -> FnKind { debug_assert!(matches!(tc...
/// use std::collections::HashMap; /// /// use std::sync::LazyLock; @@ -61,8 +59,6 @@ union Data<T, F> { /// ``` /// Initialize fields with `LazyLock`. /// ``` /// #![feature(lazy_cell)] /// /// use std::sync::LazyLock; /// /// #[derive(Debug)] @...
(); let mut hasher = hash_map::DefaultHasher::new(); hasher.write(dirname.to_string().as_bytes()); dst.join(format!("{:016x}-{}", hasher.finish(), basename)) .with_extension("o") } else { dst.join(file).with_extension("o") }; let obj = if !obj.starts_with(&dst) {...
// (i.e. in `HashMap` in the `std::collections::HashMap` path). // For the same reasons, avoids searching for any path imports for inputs with their length less than 2 symbols // (but shows all associated items for any input length). // // .Import configuration // ### Import...
Premium Support Enterprise-grade 24/7 support Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Provide feedback We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feed...
extend_with(|&(_origin1, origin2)| origin2), |&(origin1, _origin2), &origin3| (origin1, origin3), ); } known_placeholder_subset.complete() } fn new(dump_enabled: bool) -> Self { Output { errors: FxHashMap::default(), Expand Down 185 changes: 108 additions & 77 deletions ...