Skip to content

Commit

Permalink
Replace proc-macro-error with proc-macro-error2
Browse files Browse the repository at this point in the history
  • Loading branch information
Sympatron committed Sep 27, 2024
1 parent 60fd8a5 commit 5ba6258
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pio-proc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ proc-macro = true

[dependencies]
proc-macro2 = { version = "1.0", features = ["span-locations"] }
proc-macro-error = "1.0"
syn = "1.0"
proc-macro-error2 = "2.0"
syn = "2.0"
quote = "1.0"
codespan-reporting = "0.11"
pio = { path = "..", version = "0.2.0" }
Expand Down
2 changes: 1 addition & 1 deletion pio-proc/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use lalrpop_util::ParseError;
use proc_macro::TokenStream;
use proc_macro2::Span;
use proc_macro_error::{abort, abort_call_site, proc_macro_error};
use proc_macro_error2::{abort, abort_call_site, proc_macro_error};
use quote::quote;
use std::collections::HashMap;
use std::fmt::Write;
Expand Down

0 comments on commit 5ba6258

Please sign in to comment.