Skip to content

Commit c92f324

Browse files
authored
Merge pull request #68 from Sympatron/proc-macro-error2
Replace `proc-macro-error` with `proc-macro-error2`
2 parents 213a91f + 5ba6258 commit c92f324

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pio-proc/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ proc-macro = true
1313

1414
[dependencies]
1515
proc-macro2 = { version = "1.0", features = ["span-locations"] }
16-
proc-macro-error = "1.0"
17-
syn = "1.0"
16+
proc-macro-error2 = "2.0"
17+
syn = "2.0"
1818
quote = "1.0"
1919
codespan-reporting = "0.11"
2020
pio = { path = "..", version = "0.2.0" }

pio-proc/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use lalrpop_util::ParseError;
22
use proc_macro::TokenStream;
33
use proc_macro2::Span;
4-
use proc_macro_error::{abort, abort_call_site, proc_macro_error};
4+
use proc_macro_error2::{abort, abort_call_site, proc_macro_error};
55
use quote::quote;
66
use std::collections::HashMap;
77
use std::fmt::Write;

0 commit comments

Comments
 (0)