Skip to content

Commit

Permalink
Use proc-macro-error2 (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
jayvdb authored Sep 25, 2024
1 parent 1e06e42 commit 2d8e576
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ version = "0.2.0"
syn = { version = "2", features = ["full", "extra-traits"] }
quote = "1"
proc-macro2 = "1"
proc-macro-error = "1"
proc-macro-error2 = "2"
heck = "0.4"

[dev_dependencies]
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//! simpler API.
//!
//! ```rust
//! use sea-bae::FromAttributes;
//! use sea_bae::FromAttributes;
//!
//! #[derive(
//! Debug,
Expand Down Expand Up @@ -105,7 +105,7 @@ extern crate proc_macro;

use heck::ToSnakeCase;
use proc_macro2::TokenStream;
use proc_macro_error::*;
use proc_macro_error2::{abort, proc_macro_error};
use quote::*;
use syn::{spanned::Spanned, *};

Expand Down

0 comments on commit 2d8e576

Please sign in to comment.