Merge branch 'main' into kvark-linux

This commit is contained in:
Mikayla 2024-02-07 11:49:49 -08:00
commit 67555ee5b4
No known key found for this signature in database
238 changed files with 6624 additions and 3524 deletions

View file

@ -15,6 +15,7 @@ test-support = ["tempfile", "git2"]
[dependencies]
anyhow.workspace = true
backtrace = "0.3"
collections.workspace = true
dirs = "3.0"
futures.workspace = true
git2 = { workspace = true, optional = true }

View file

@ -157,7 +157,7 @@ pub const FILE_ROW_COLUMN_DELIMITER: char = ':';
/// A representation of a path-like string with optional row and column numbers.
/// Matching values example: `te`, `test.rs:22`, `te:22:5`, etc.
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize, Hash)]
pub struct PathLikeWithPosition<P> {
pub path_like: P,
pub row: Option<u32>,

View file

@ -1,4 +1,5 @@
use std::{cmp::Ordering, collections::HashMap, ops::Range};
use collections::HashMap;
use std::{cmp::Ordering, ops::Range};
/// Construct a string and a list of offsets within that string using a single
/// string containing embedded position markers.