chore(linter): expose Message:start and Message:end (#3268)

Expose the `start` and `end` field for modification in downstream
projects.
This commit is contained in:
Pig Fang 2024-05-14 16:48:05 +08:00 committed by GitHub
parent b27a905958
commit 56346d59da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -27,8 +27,8 @@ pub struct FixResult<'a> {
pub struct Message<'a> {
pub error: OxcDiagnostic,
start: u32,
end: u32,
pub start: u32,
pub end: u32,
pub fix: Option<Fix<'a>>,
fixed: bool,
}