diff --git a/bigerror/Cargo.toml b/bigerror/Cargo.toml index 63cb76a..3a0baeb 100644 --- a/bigerror/Cargo.toml +++ b/bigerror/Cargo.toml @@ -28,7 +28,7 @@ tonic = { workspace = true, optional = true } tonic-types = { workspace = true, optional = true } tracing-error = { workspace = true, optional = true, default-features = false } tracing.workspace = true -bigerror_derive = { path = "../bigerror_derive" } +bigerror-derive = { path = "../bigerror_derive" } [dev-dependencies] serde = { workspace = true, features = ["derive"] } diff --git a/bigerror/src/lib.rs b/bigerror/src/lib.rs index 4813465..2a10cfb 100644 --- a/bigerror/src/lib.rs +++ b/bigerror/src/lib.rs @@ -569,7 +569,7 @@ mod test { #[derive(Default)] struct MyStruct { my_field: Option<()>, - string: String, + _string: String, } impl MyStruct { @@ -721,7 +721,7 @@ mod test { // this is meant to be a compile time test of the `__field!` macro fn __field() { let my_struct = MyStruct::default(); - __field!(MyStruct::__field::<&str> | &my_struct.string); + __field!(MyStruct::__field::<&str> | &my_struct._string); } #[test] diff --git a/bigerror_derive/Cargo.toml b/bigerror_derive/Cargo.toml index 0cb7f46..9f8239c 100644 --- a/bigerror_derive/Cargo.toml +++ b/bigerror_derive/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "bigerror_derive" +name = "bigerror-derive" version.workspace = true edition.workspace = true description.workspace = true