forked from rustdesk/rustdesk
Update Rust crate thiserror to v2 #77
Open
renovatebot
wants to merge 1 commit from
renovate/thiserror-2.x into master
pull from: renovate/thiserror-2.x
merge into: test-actions:master
test-actions:master
test-actions:renovate/nix-0.x
test-actions:renovate/external_path-2.x
test-actions:renovate/xattr-1.x-lockfile
test-actions:renovate/wol-rs-1.x-lockfile
test-actions:renovate/uuid-1.x-lockfile
test-actions:renovate/unicode-segmentation-1.x-lockfile
test-actions:renovate/totp-rs-5.x-lockfile
test-actions:renovate/pulse-2.x-lockfile
test-actions:renovate/psimple-2.x-lockfile
test-actions:renovate/once_cell-1.x-lockfile
test-actions:renovate/num_cpus-1.x-lockfile
test-actions:renovate/cc-1.x-lockfile
test-actions:renovate/serde-monorepo
test-actions:renovate/url-2.x-lockfile
test-actions:renovate/tokio-tracing-monorepo
test-actions:renovate/thiserror-1.x-lockfile
test-actions:renovate/sys-locale-0.x-lockfile
test-actions:renovate/sha2-0.x-lockfile
test-actions:renovate/serde_repr-0.x-lockfile
test-actions:renovate/serde_json-1.x-lockfile
test-actions:renovate/pkg-config-0.x-lockfile
test-actions:renovate/parking_lot-0.x-lockfile
test-actions:renovate/mac_address-1.x-lockfile
test-actions:renovate/log-0.x-lockfile
test-actions:renovate/libloading-0.x-lockfile
test-actions:renovate/libc-0.x-lockfile
test-actions:renovate/gtk-0.x-lockfile
test-actions:renovate/errno-0.x-lockfile
test-actions:renovate/ctrlc-3.x-lockfile
test-actions:renovate/crossbeam-queue-0.x-lockfile
test-actions:renovate/clap-4.x-lockfile
test-actions:renovate/async-trait-0.x-lockfile
test-actions:renovate/softprops-action-gh-release-2.x
test-actions:renovate/zip-4.x
test-actions:renovate/qrcode-generator-5.x
test-actions:renovate/dirs-6.x
test-actions:renovate/dashmap-6.x
test-actions:renovate/brotli-8.x
test-actions:renovate/async-process-2.x
test-actions:renovate/major-protobuf-monorepo
test-actions:renovate/com.android.application-8.x
test-actions:renovate/kylemayes-install-llvm-action-2.x
test-actions:renovate/vite-6.x
test-actions:renovate/uuid-4.x
test-actions:renovate/ubuntu-24.x
test-actions:renovate/typescript-5.x
test-actions:renovate/ts-proto-2.x
test-actions:renovate/package_info_plus-8.x
test-actions:renovate/icons_launcher-3.x
test-actions:renovate/gradle-8.x
test-actions:renovate/freezed_annotation-3.x
test-actions:renovate/freezed-3.x
test-actions:renovate/flutter_rust_bridge-2.x
test-actions:renovate/flutter_lints-6.x
test-actions:renovate/flutter_keyboard_visibility-6.x
test-actions:renovate/file_picker-10.x
test-actions:renovate/ffigen-19.x
test-actions:renovate/extended_text-15.x
test-actions:renovate/device_info_plus-11.x
test-actions:renovate/back_button_interceptor-8.x
test-actions:renovate/apple-actions-import-codesign-certs-5.x
test-actions:renovate/actions-github-script-7.x
test-actions:renovate/actions-checkout-4.x
test-actions:renovate/actions-cache-4.x
test-actions:renovate/subosito-flutter-action-2.x
test-actions:renovate/x11rb-0.x
test-actions:renovate/winreg-0.x
test-actions:renovate/windows-strings-0.x
test-actions:renovate/windows-service-0.x
test-actions:renovate/tauri-winrt-notification-0.x
test-actions:renovate/rubato-0.x
test-actions:renovate/ringbuf-0.x
test-actions:renovate/rand-0.x
test-actions:renovate/objc2-foundation-0.x
test-actions:renovate/objc2-app-kit-0.x
test-actions:renovate/objc2-0.x
test-actions:renovate/ndk-0.x
test-actions:renovate/image-0.x
test-actions:renovate/default-net-0.x
test-actions:renovate/core-graphics-0.x
test-actions:renovate/core-foundation-0.x
test-actions:renovate/cocoa-0.x
test-actions:renovate/cidr-utils-0.x
test-actions:renovate/bindgen-0.x
test-actions:renovate/android_logger-0.x
test-actions:renovate/protobuf-monorepo
test-actions:renovate/com.android.application-7.x
test-actions:renovate/gstreamer-rust-monorepo
test-actions:renovate/zstddec-0.x
test-actions:renovate/vite-2.x
test-actions:renovate/uni_links_desktop-0.x
test-actions:renovate/typescript-4.x
test-actions:renovate/scroll_pos-0.x
test-actions:renovate/pull_down_button-0.x
test-actions:renovate/flutter_rust_bridge-1.x
test-actions:renovate/flutter_launcher_icons-0.x
test-actions:renovate/extended_text-14.x
test-actions:renovate/desktop_drop-0.x
test-actions:renovate/com.github.getactivity-xxpermissions-18.x
test-actions:renovate/androidx.media-media-1.x
test-actions:renovate/com.google.protobuf-0.x
test-actions:renovate/pcm-player-0.x
test-actions:renovate/gradle-7.x
test-actions:renovate/pin-dependencies
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Assignees
Clear assignees
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set
Reference
test-actions/rustdesk!77
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/thiserror-2.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
1.0.30->2.0.01.0->2.0Release Notes
dtolnay/thiserror (thiserror)
v2.0.12Compare Source
v2.0.11Compare Source
v2.0.10Compare Source
v2.0.9Compare Source
missing_inline_in_public_itemsclippy restriction being triggered in macro-generated code (#404)v2.0.8Compare Source
derive(Error)call sites (#399)v2.0.7Compare Source
v2.0.6Compare Source
v2.0.5Compare Source
v2.0.4Compare Source
Fromimpls (#391, thanks @matt-phylum)v2.0.3Compare Source
v2.0.2Compare Source
v2.0.1Compare Source
v2.0.0Compare Source
Breaking changes
Referencing keyword-named fields by a raw identifier like
{r#type}inside a format string is no longer accepted; simply use the unraw name like{type}(#347)This aligns thiserror with the standard library's formatting macros, which gained support for implicit argument capture later than the release of this feature in thiserror 1.x.
Trait bounds are no longer inferred on fields whose value is shadowed by an explicit named argument in a format message (#345)
Tuple structs and tuple variants can no longer use numerical
{0}{1}access at the same time as supplying extra positional arguments for a format message, as this makes it ambiguous whether the number refers to a tuple field vs a different positional arg (#354)Code containing invocations of thiserror's
derive(Error)must now have a direct dependency on thethiserrorcrate regardless of the error data structure's contents (#368, #369, #370, #372)Features
Support disabling thiserror's standard library dependency by disabling the default "std" Cargo feature:
thiserror = { version = "2", default-features = false }(#373)Support using
r#sourceas field name to opt out of a field named "source" being treated as an error'sError::source()(#350)Infinite recursion in a generated Display impl now produces an
unconditional_recursionwarning (#359)A new attribute
#[error(fmt = path::to::myfmt)]can be used to write formatting logic for an enum variant out-of-line (#367)Enums with an enum-level format message are now able to have individual variants that are
transparentto supersede the enum-level message (#366)v1.0.69Compare Source
v1.0.68Compare Source
v1.0.67Compare Source
v1.0.66Compare Source
v1.0.65Compare Source
v1.0.64Compare Source
v1.0.63Compare Source
v1.0.62Compare Source
#[error("…", …)]attribute (#309)v1.0.61Compare Source
core::fmtandcore::panicto facilitateerror_in_coresupport (#299, thanks @jordens)v1.0.60Compare Source
v1.0.59Compare Source
debug-fmt-detailoption (#297)v1.0.58Compare Source
v1.0.57Compare Source
Displayimpl for error message which do not contain any interpolated value (#286, thanks @nyurik)v1.0.56Compare Source
v1.0.55Compare Source
v1.0.54Compare Source
v1.0.53Compare Source
v1.0.52Compare Source
v1.0.51Compare Source
Errorimpl (#266)v1.0.50Compare Source
v1.0.49Compare Source
::corein generated code (#255, thanks @mina86)v1.0.48Compare Source
v1.0.47Compare Source
v1.0.46Compare Source
v1.0.45Compare Source
v1.0.44Compare Source
v1.0.43Compare Source
v1.0.42Compare Source
write!macro in scope (#239)v1.0.41Compare Source
v1.0.40Compare Source
v1.0.39Compare Source
v1.0.38Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Renovate Bot.
⚠️ Artifact update problem
Renovate failed to update artifacts related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below:
File name: Cargo.lock
File name: libs/virtual_display/Cargo.lock
590e4ebc08629b237f60