aboutsummaryrefslogtreecommitdiff
path: root/lib/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/src/lib.rs')
-rw-r--r--lib/src/lib.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/src/lib.rs b/lib/src/lib.rs
index 753e5c1..ec96f50 100644
--- a/lib/src/lib.rs
+++ b/lib/src/lib.rs
@@ -13,6 +13,12 @@ use serde::{
13 Serialize, 13 Serialize,
14}; 14};
15 15
16#[cfg_attr(feature = "json-out", derive(Serialize))]
17pub struct Position {
18 line: usize,
19 column: usize,
20}
21
16/// Report generated by a lint 22/// Report generated by a lint
17#[derive(Debug, Default)] 23#[derive(Debug, Default)]
18#[cfg_attr(feature = "json-out", derive(Serialize))] 24#[cfg_attr(feature = "json-out", derive(Serialize))]