From 56346d59daf99a3aaad56015f00eedf193c54613 Mon Sep 17 00:00:00 2001 From: Pig Fang Date: Tue, 14 May 2024 16:48:05 +0800 Subject: [PATCH] chore(linter): expose `Message:start` and `Message:end` (#3268) Expose the `start` and `end` field for modification in downstream projects. --- crates/oxc_linter/src/fixer.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/oxc_linter/src/fixer.rs b/crates/oxc_linter/src/fixer.rs index b94395ee7..a96f2ce4f 100644 --- a/crates/oxc_linter/src/fixer.rs +++ b/crates/oxc_linter/src/fixer.rs @@ -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>, fixed: bool, }