Skip to content

Commit

Permalink
Update Rust toolchains for /libs to nightly-2023-05-08 (#2521)
Browse files Browse the repository at this point in the history
* Update Rust toolchains for `/libs` to nightly-2023-05-08

* fix: clippy

* Fix expect-tests

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Bilal Mahmoud <[email protected]>
Co-authored-by: Tim Diekmann <[email protected]>
Co-authored-by: Tim Diekmann <[email protected]>
  • Loading branch information
4 people authored May 8, 2023
1 parent 228a100 commit 6706559
Show file tree
Hide file tree
Showing 29 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion libs/@local/status/crate/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "nightly-2023-04-17"
channel = "nightly-2023-05-08"
components = ['rustfmt', 'clippy', 'llvm-tools-preview']
2 changes: 1 addition & 1 deletion libs/antsi/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "nightly-2023-04-17"
channel = "nightly-2023-05-08"
components = ['rustfmt', 'clippy', 'llvm-tools-preview']
2 changes: 1 addition & 1 deletion libs/deer/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "nightly-2023-04-17"
channel = "nightly-2023-05-08"
components = ['rustfmt', 'clippy', 'llvm-tools-preview', 'miri']
2 changes: 1 addition & 1 deletion libs/deer/src/impls/core/array.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ impl<'de, T: Deserialize<'de>, const N: usize> Deserialize<'de> for [T; N] {

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, DeserializeError> {
deserializer
.deserialize_array(ArrayVisitor(PhantomData::default()))
.deserialize_array(ArrayVisitor(PhantomData))
.change_context(DeserializeError)
}
}
2 changes: 1 addition & 1 deletion libs/deer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ pub(crate) mod test {

let s: SerializeFrame<T> = SerializeFrame {
frames: &frames,
_marker: PhantomData::default(),
_marker: PhantomData,
};

serde_json::to_value(s)
Expand Down
2 changes: 1 addition & 1 deletion libs/error-stack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

[![crates.io](https://img.shields.io/crates/v/error-stack)][crates.io]
[![libs.rs](https://img.shields.io/badge/libs.rs-error--stack-orange)][libs.rs]
[![rust-version](https://img.shields.io/static/v1?label=Rust&message=1.63.0/nightly-2023-04-17&color=blue)][rust-version]
[![rust-version](https://img.shields.io/static/v1?label=Rust&message=1.63.0/nightly-2023-05-08&color=blue)][rust-version]
[![documentation](https://img.shields.io/docsrs/error-stack)][documentation]
[![license](https://img.shields.io/crates/l/error-stack)][license]
[![discord](https://img.shields.io/discord/840573247803097118)][discord]
Expand Down
2 changes: 1 addition & 1 deletion libs/error-stack/macros/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

[![crates.io](https://img.shields.io/crates/v/error-stack-macros)][crates.io]
[![libs.rs](https://img.shields.io/badge/libs.rs-error--stack--macros-orange)][libs.rs]
[![rust-version](https://img.shields.io/static/v1?label=Rust&message=1.63.0/nightly-2023-04-17&color=blue)][rust-version]
[![rust-version](https://img.shields.io/static/v1?label=Rust&message=1.63.0/nightly-2023-05-08&color=blue)][rust-version]
[![documentation](https://img.shields.io/docsrs/error-stack-macros)][documentation]
[![license](https://img.shields.io/crates/l/error-stack)][license]
[![discord](https://img.shields.io/discord/840573247803097118)][discord]
Expand Down
2 changes: 1 addition & 1 deletion libs/error-stack/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[toolchain]
# Please also update the badges in `README.md`s (`error-stack` and `error-stack-macros`), and `src/lib.rs`
channel = "nightly-2023-04-17"
channel = "nightly-2023-05-08"
components = ['rustfmt', 'clippy', 'llvm-tools-preview', 'miri', 'rust-src']
2 changes: 1 addition & 1 deletion libs/error-stack/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//!
//! [![crates.io](https://img.shields.io/crates/v/error-stack)][crates.io]
//! [![libs.rs](https://img.shields.io/badge/libs.rs-error--stack-orange)][libs.rs]
//! [![rust-version](https://img.shields.io/static/v1?label=Rust&message=1.63.0/nightly-2023-04-17&color=blue)][rust-version]
//! [![rust-version](https://img.shields.io/static/v1?label=Rust&message=1.63.0/nightly-2023-05-08&color=blue)][rust-version]
//! [![discord](https://img.shields.io/discord/840573247803097118)][discord]
//!
//! [crates.io]: https://crates.io/crates/error-stack
Expand Down

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

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

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

2 changes: 1 addition & 1 deletion libs/error-stack/tests/snapshots/doc/fmt__doc.snap

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

2 changes: 1 addition & 1 deletion libs/error-stack/tests/snapshots/doc/fmt__emit.snap

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

2 changes: 1 addition & 1 deletion libs/error-stack/tests/snapshots/doc/fmt__emit_alt.snap

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

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

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

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

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

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

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

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

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

2 changes: 1 addition & 1 deletion libs/error-stack/tests/snapshots/doc/fmt_doc_alt.snap

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

2 changes: 1 addition & 1 deletion libs/error-stack/tests/snapshots/doc/hook__debug_hook.snap

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

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

4 changes: 2 additions & 2 deletions libs/error-stack/tests/snapshots/doc/lib__suggestion.snap

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

6 changes: 3 additions & 3 deletions libs/error-stack/tests/snapshots/doc/report_debug__doc.snap

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

2 changes: 1 addition & 1 deletion libs/sarif/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "nightly-2023-04-17"
channel = "nightly-2023-05-08"
components = ['rustfmt', 'clippy', 'llvm-tools-preview']

0 comments on commit 6706559

Please sign in to comment.