Skip to content

Commit

Permalink
fix(GnomedDev#1): Difference in error message compared to proc-macro-…
Browse files Browse the repository at this point in the history
…error
  • Loading branch information
gamma0987 committed Sep 6, 2024
1 parent 2c40bf4 commit 6a1f248
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ pub mod __export {
None => Span::call_site(),
};

let last = match ts.next() {
let last = match ts.last() {
Some(t) => t.span(),
None => first,
};
Expand Down

0 comments on commit 6a1f248

Please sign in to comment.