mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-27 11:59:05 +00:00
19 lines
333 B
Rust
19 lines
333 B
Rust
use erg_common::Str;
|
|
|
|
use crate::error::CompileWarnings;
|
|
use crate::hir::HIR;
|
|
|
|
#[derive(Debug, Default)]
|
|
pub struct Linter {
|
|
_used: Vec<Str>,
|
|
}
|
|
|
|
impl Linter {
|
|
pub fn new() -> Self {
|
|
Self { _used: Vec::new() }
|
|
}
|
|
|
|
pub fn lint(&mut self, _hir: &HIR) -> CompileWarnings {
|
|
CompileWarnings::empty()
|
|
}
|
|
}
|