Format some errors with codespan-reporting

This commit is contained in:
Joscha 2022-01-02 13:46:04 +01:00
parent d9c1dc78e4
commit ef287b9fd0
5 changed files with 205 additions and 75 deletions

View file

@ -339,14 +339,14 @@ pub struct Note {
#[derive(Debug)]
pub struct Log {
pub date: NaiveDate,
pub date: Spanned<NaiveDate>,
pub desc: Vec<String>,
}
#[derive(Debug)]
pub enum Command {
Include(String),
Timezone(String),
Include(Spanned<String>),
Timezone(Spanned<String>),
Task(Task),
Note(Note),
Log(Log),