Skip to content

Commit 6bb046d

Browse files
David Tolnaymeta-codesync[bot]
authored andcommitted
[third-party/rust] Update proc-macro-error to proc-macro-error2
Summary: The `proc-macro-error` crate is unmaintained and only compatible with syn 1. `proc-macro-error2` supports syn 2. Test Plan: `fbgs third-party/rust:proc-macro-error -l | sed 's,^fbsource/,,' | xargs arc rust-check` Reviewed By: cjlongoria Differential Revision: D93949190 fbshipit-source-id: a915f13147571c2fb664e3b23454118211826820
1 parent dfc6366 commit 6bb046d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

antlir/antlir2/antlir2_facts/BUCK

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ rust_library(
4949
crate_root = "macro.rs",
5050
proc_macro = True,
5151
deps = [
52-
"proc-macro-error",
52+
"proc-macro-error2",
5353
"proc-macro2",
5454
"quote",
5555
"syn",

antlir/antlir2/antlir2_facts/macro.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8-
use proc_macro_error::abort;
9-
use proc_macro_error::proc_macro_error;
8+
use proc_macro_error2::abort;
9+
use proc_macro_error2::proc_macro_error;
1010
use quote::ToTokens;
1111
use quote::format_ident;
1212
use quote::quote;

0 commit comments

Comments
 (0)