SpriteOvO/spdlog-rs

how about upgrade syn package from 1 to 2

SpriteOvO opened this issue · 2 comments

Discussed in #43

Originally posted by nneesshh October 23, 2023
I try upgrade syn package from 1 to 2, but failed ...
I don't really know the change betwen 1 and 2, maybe the newest is better?

I'm not very familiar with syn, I tried it, but there is an error I'm not sure how to migrate.

error[E0308]: mismatched types
   --> spdlog-macros/src/synthesis.rs:132:23
    |
132 |                 span: Span::mixed_site(),
    |                       ^^^^^^^^^^^^^^^^^^ expected `DelimSpan`, found `Span`

@Lancern would you mind me assigning this task to you?

OK I'll take it.