Skip to content

Commit

Permalink
Update thiserror from 1.0.69 to 2.0.3
Browse files Browse the repository at this point in the history
Summary:
Release notes:

- https://github.com/dtolnay/thiserror/releases/tag/2.0.0
- https://github.com/dtolnay/thiserror/releases/tag/2.0.1
- https://github.com/dtolnay/thiserror/releases/tag/2.0.2
- https://github.com/dtolnay/thiserror/releases/tag/2.0.3

Reviewed By: zertosh

Differential Revision: D66562325

fbshipit-source-id: 9b4b0dd517c180b1856ce0dc9be3eb84d686c2b7
  • Loading branch information
David Tolnay authored and facebook-github-bot committed Nov 28, 2024
1 parent 7e244ac commit b8240bf
Show file tree
Hide file tree
Showing 37 changed files with 77 additions and 57 deletions.
62 changes: 41 additions & 21 deletions hphp/hack/src/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion hphp/hack/src/deps/rust/file_info/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ rc_pos = { version = "0.0.0", path = "../../../utils/rust/pos" }
relative_path = { version = "0.0.0", path = "../../../utils/rust/relative_path" }
rusqlite = { version = "0.29.0", features = ["backup", "blob", "column_decltype", "limits"] }
serde = { version = "1.0.185", features = ["derive", "rc"] }
thiserror = "1.0.64"
thiserror = "2"
typing_deps_hash = { version = "0.0.0", path = "../../cargo/typing_deps_hash" }
2 changes: 1 addition & 1 deletion hphp/hack/src/hackc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,5 @@ shallow_decl_provider = { version = "0.0.0", path = "../hackrs/shallow_decl_prov
strum = { version = "0.26.2", features = ["derive"] }
tempfile = "3.8"
textual = { version = "0.0.0", path = "ir/conversions/textual/cargo/textual" }
thiserror = "1.0.64"
thiserror = "2"
ty = { version = "0.0.0", path = "../hackrs/ty/cargo/ty" }
2 changes: 1 addition & 1 deletion hphp/hack/src/hackc/bytecode_printer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ hhvm_types_ffi = { version = "0.0.0", path = "../hhvm_cxx/hhvm_types" }
itertools = "0.13.0"
print_opcode = { version = "0.0.0", path = "print_opcode/cargo/lib" }
relative_path = { version = "0.0.0", path = "../../utils/rust/relative_path" }
thiserror = "1.0.64"
thiserror = "2"
write_bytes = { version = "0.0.0", path = "../../utils/write_bytes/write_bytes" }
2 changes: 1 addition & 1 deletion hphp/hack/src/hackc/compile/cargo/compile/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ relative_path = { version = "0.0.0", path = "../../../../utils/rust/relative_pat
rewrite_program = { version = "0.0.0", path = "../rewrite_program" }
serde = { version = "1.0.185", features = ["derive", "rc"] }
stack_limit = { version = "0.0.0", path = "../../../../utils/stack_limit" }
thiserror = "1.0.64"
thiserror = "2"
2 changes: 1 addition & 1 deletion hphp/hack/src/hackc/decl_provider/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ oxidized = { version = "0.0.0", path = "../../oxidized" }
oxidized_by_ref = { version = "0.0.0", path = "../../oxidized_by_ref" }
parser_core_types = { version = "0.0.0", path = "../../parser/cargo/core_types" }
sha1 = "0.10.5"
thiserror = "1.0.64"
thiserror = "2"
2 changes: 1 addition & 1 deletion hphp/hack/src/hackc/error/cargo/error/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ path = "../../error.rs"
[dependencies]
hhvm_hhbc_defs_ffi = { version = "0.0.0", path = "../../../hhvm_cxx/hhvm_hhbc_defs" }
oxidized = { version = "0.0.0", path = "../../../../oxidized" }
thiserror = "1.0.64"
thiserror = "2"
2 changes: 1 addition & 1 deletion hphp/hack/src/hackc/ffi_bridge/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ parser_core_types = { version = "0.0.0", path = "../../parser/cargo/core_types"
relative_path = { version = "0.0.0", path = "../../utils/rust/relative_path" }
serde = { version = "1.0.185", features = ["derive", "rc"] }
sha1 = "0.10.5"
thiserror = "1.0.64"
thiserror = "2"
ty = { version = "0.0.0", path = "../../hackrs/ty/cargo/ty" }

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion hphp/hack/src/hackc/print_expr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ lazy_static = "1.4"
naming_special_names_rust = { version = "0.0.0", path = "../../naming" }
oxidized = { version = "0.0.0", path = "../../oxidized" }
regex = "1.9.2"
thiserror = "1.0.64"
thiserror = "2"
write_bytes = { version = "0.0.0", path = "../../utils/write_bytes/write_bytes" }
2 changes: 1 addition & 1 deletion hphp/hack/src/hackc/utils/cargo/stack_depth/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ hhbc = { version = "0.0.0", path = "../../../hhbc/cargo/hhbc" }
hhbc-gen = { version = "0.0.0", path = "../../../../../../tools/hhbc-gen" }
log = { version = "0.4.22", features = ["kv_unstable"] }
newtype = { version = "0.0.0", path = "../../../../utils/newtype" }
thiserror = "1.0.64"
thiserror = "2"
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ core_utils_rust = { version = "0.0.0", path = "../../../../utils/core" }
dep = { version = "0.0.0", path = "../../../../depgraph/cargo/dep" }
hh24_types = { version = "0.0.0", path = "../../../../utils/hh24_types" }
pos = { version = "0.0.0", path = "../../../pos/cargo/pos" }
thiserror = "1.0.64"
thiserror = "2"
typing_deps_hash = { version = "0.0.0", path = "../../../../deps/cargo/typing_deps_hash" }
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ oxidized = { version = "0.0.0", path = "../../../../oxidized" }
pos = { version = "0.0.0", path = "../../../pos/cargo/pos" }
shallow_decl_provider = { version = "0.0.0", path = "../../../shallow_decl_provider/cargo/shallow_decl_provider" }
special_names = { version = "0.0.0", path = "../../../special_names/cargo/special_names" }
thiserror = "1.0.64"
thiserror = "2"
ty = { version = "0.0.0", path = "../../../ty/cargo/ty" }
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ naming_provider = { version = "0.0.0", path = "../../../naming_provider/cargo/na
oxidized = { version = "0.0.0", path = "../../../../oxidized" }
pos = { version = "0.0.0", path = "../../../pos/cargo/pos" }
serde = { version = "1.0.185", features = ["derive", "rc"] }
thiserror = "1.0.64"
thiserror = "2"
ty = { version = "0.0.0", path = "../../../ty/cargo/ty" }
2 changes: 1 addition & 1 deletion hphp/hack/src/oxidized/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ rust_to_ocaml_attr = { version = "0.0.0", path = "../rust_to_ocaml/rust_to_ocaml
serde = { version = "1.0.185", features = ["derive", "rc"] }
serde_json = { version = "1.0.132", features = ["float_roundtrip", "unbounded_depth"] }
strum = { version = "0.26.2", features = ["derive"] }
thiserror = "1.0.64"
thiserror = "2"
toml = "0.8.4"

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion hphp/hack/src/parser/lowerer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ regex = "1.9.2"
relative_path = { version = "0.0.0", path = "../../utils/rust/relative_path" }
rescan_trivia = { version = "0.0.0", path = "../api/cargo/rescan_trivia" }
stack_limit = { version = "0.0.0", path = "../../utils/stack_limit" }
thiserror = "1.0.64"
thiserror = "2"
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ regex = "1.9.2"
relative_path = { version = "0.0.0", path = "../../../rust/relative_path" }
serde = { version = "1.0.185", features = ["derive", "rc"] }
syn = { version = "1.0.109", features = ["extra-traits", "fold", "full", "visit", "visit-mut"] }
thiserror = "1.0.64"
thiserror = "2"

[dev-dependencies]
macro_test_util = { version = "0.0.0", path = "../../../test/macro_test_util" }
2 changes: 1 addition & 1 deletion hphp/hack/src/utils/hdf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ crate-type = ["lib", "staticlib"]

[dependencies]
cxx = "1.0.119"
thiserror = "1.0.64"
thiserror = "2"

[build-dependencies]
cc = ">=1.0.79"
Expand Down
2 changes: 1 addition & 1 deletion hphp/hack/src/utils/hh24_types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ relative_path = { version = "0.0.0", path = "../rust/relative_path" }
rusqlite = { version = "0.29.0", features = ["backup", "blob", "column_decltype", "limits"] }
serde = { version = "1.0.185", features = ["derive", "rc"] }
serde_json = { version = "1.0.132", features = ["float_roundtrip", "unbounded_depth"] }
thiserror = "1.0.64"
thiserror = "2"
typing_deps_hash = { version = "0.0.0", path = "../../deps/cargo/typing_deps_hash" }
2 changes: 1 addition & 1 deletion hphp/hack/src/utils/rust/file_rwlock/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ libc = "0.2.139"
serde = { version = "1.0.185", features = ["derive", "rc"] }
serde_json = { version = "1.0.132", features = ["float_roundtrip", "unbounded_depth"] }
tempfile = "3.8"
thiserror = "1.0.64"
thiserror = "2"
2 changes: 1 addition & 1 deletion hphp/hack/src/utils/rust/signed_source/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ hex = "0.4.3"
md-5 = "0.10"
once_cell = "1.12"
regex = "1.9.2"
thiserror = "1.0.64"
thiserror = "2"
2 changes: 1 addition & 1 deletion third-party/thrift/src/thrift/lib/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ num-traits = { version = "0.2.18", default-features = false }
ordered-float = { version = "3.7", features = ["serde"] }
panic-message = "0.3"
serde_json = { version = "1.0.132", features = ["float_roundtrip", "unbounded_depth"] }
thiserror = "1.0.64"
thiserror = "2"

[dev-dependencies]
quickcheck = "1.0"
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ python = { version = "0.0.1+unstable", path = "../python" }
ref-cast = "1.0.18"
rust = { version = "0.0.1+unstable", path = "../rust" }
scope = { version = "0.0.1+unstable", path = "../scope" }
thiserror = "1.0.64"
thiserror = "2"
thrift = { version = "0.0.1+unstable", path = "../thrift" }

[build-dependencies]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ futures = { version = "0.3.30", features = ["async-await", "compat"] }
once_cell = "1.12"
ref-cast = "1.0.18"
scope = { version = "0.0.1+unstable", path = "../scope" }
thiserror = "1.0.64"
thiserror = "2"

[build-dependencies]
thrift_compiler = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ futures = { version = "0.3.30", features = ["async-await", "compat"] }
once_cell = "1.12"
ref-cast = "1.0.18"
scope = { version = "0.0.1+unstable", path = "../scope" }
thiserror = "1.0.64"
thiserror = "2"
thrift = { version = "0.0.1+unstable", path = "../thrift" }

[build-dependencies]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ futures = { version = "0.3.30", features = ["async-await", "compat"] }
once_cell = "1.12"
ref-cast = "1.0.18"
scope = { version = "0.0.1+unstable", path = "../scope" }
thiserror = "1.0.64"
thiserror = "2"

[build-dependencies]
thrift_compiler = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
Expand Down
Loading

0 comments on commit b8240bf

Please sign in to comment.