1
0

errors.rs 329 B

1234567891011
  1. macro_rules! missing_trailing_comma {
  2. ($span:expr) => {
  3. return Err(Error::new($span, "missing trailing comma"));
  4. };
  5. }
  6. macro_rules! attr_after_element {
  7. ($span:expr) => {
  8. return Err(Error::new($span, "expected element\n = help move the attribute above all the children and text elements"));
  9. };
  10. }