Remove CheckLocator abstraction (#627)

This commit is contained in:
Charlie Marsh 2022-11-06 17:42:10 -05:00 committed by GitHub
parent 99d9aa61bf
commit 85b882fc54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 348 additions and 335 deletions

View file

@ -100,10 +100,6 @@ pub struct Binding {
pub used: Option<(usize, Range)>,
}
pub trait CheckLocator {
fn locate_check(&self, default: Range) -> Range;
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord)]
pub enum ImportKind {
Import,