mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
Remove dev-dependency insta
This commit is contained in:
parent
def5a1d0c4
commit
e339c65a1a
24 changed files with 188 additions and 310 deletions
|
@ -1,3 +1,4 @@
|
|||
//!
|
||||
use crate::debug::TableEntry;
|
||||
use crate::durability::Durability;
|
||||
use crate::hash::FxIndexMap;
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//!
|
||||
use crate::debug::TableEntry;
|
||||
use crate::derived::MemoizationPolicy;
|
||||
use crate::durability::Durability;
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//!
|
||||
#![allow(dead_code)]
|
||||
|
||||
/// Test that a database with a key/value that is not `Send` will,
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//!
|
||||
/// Describes how likely a value is to change -- how "durable" it is.
|
||||
/// By default, inputs have `Durability::LOW` and interned values have
|
||||
/// `Durability::HIGH`. But inputs can be explicitly set with other
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//!
|
||||
pub(crate) type FxHasher = std::hash::BuildHasherDefault<rustc_hash::FxHasher>;
|
||||
pub(crate) type FxIndexSet<K> = indexmap::IndexSet<K, FxHasher>;
|
||||
pub(crate) type FxIndexMap<K, V> = indexmap::IndexMap<K, V, FxHasher>;
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//!
|
||||
use crate::debug::TableEntry;
|
||||
use crate::durability::Durability;
|
||||
use crate::hash::FxIndexMap;
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//!
|
||||
use std::fmt;
|
||||
use std::num::NonZeroU32;
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//!
|
||||
use crate::debug::TableEntry;
|
||||
use crate::durability::Durability;
|
||||
use crate::intern_id::InternId;
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//!
|
||||
#![allow(clippy::type_complexity)]
|
||||
#![allow(clippy::question_mark)]
|
||||
#![warn(rust_2018_idioms)]
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//!
|
||||
use oorandom::Rand64;
|
||||
use parking_lot::Mutex;
|
||||
use std::fmt::Debug;
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//!
|
||||
#![allow(missing_docs)]
|
||||
|
||||
use crate::debug::TableEntry;
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//!
|
||||
use std::num::NonZeroU32;
|
||||
use std::sync::atomic::{AtomicU32, Ordering};
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//!
|
||||
use crate::durability::Durability;
|
||||
use crate::hash::FxIndexSet;
|
||||
use crate::plumbing::CycleRecoveryStrategy;
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//!
|
||||
use triomphe::Arc;
|
||||
|
||||
use crate::{DatabaseKeyIndex, RuntimeId};
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//!
|
||||
use tracing::debug;
|
||||
|
||||
use crate::durability::Durability;
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//!
|
||||
use crate::{plumbing::DatabaseStorageTypes, Runtime};
|
||||
use triomphe::Arc;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue