Improve Fluent syntax error spans
Dependencies
- [2]
3NMKD6I5Refactor `Localize` trait to use `std::io::Write` - [3]
QFPQZR4KRefactor `fluent_embed` - [4]
F5LG7WENEmit compilation errors from Fluent source code - [5]
2SITVDYWHandle common errors in Fluent code - [*]
5TEX4MNUSplit `fluent_embed` into `group` and `parse` modules
Change contents
- replacement in fluent_embed_derive/src/fluent/mod.rs at line 81
span: SourceSpan::from(error.pos),span: SourceSpan::from(error.slice.unwrap_or(error.pos)), - replacement in fluent_embed_derive/src/fluent/ast.rs at line 58
// TODO: handle this as an error// The parser should guarantee a default arm is available