Skip to content

Commit

Permalink
chore(ci): update tfhe-lints to more recent toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
IceTDrinker committed Aug 19, 2024
1 parent e1a25a1 commit 3d1912f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion utils/cargo-tfhe-lints-inner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"

[dependencies]
rustc-tools = "0.78"
rustc-tools = "0.80"

[package.metadata.rust-analyzer]
rustc_private=true
2 changes: 1 addition & 1 deletion utils/cargo-tfhe-lints-inner/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[toolchain]
channel = "nightly-2024-05-02"
channel = "nightly-2024-07-25"
components = ["rustc-dev", "rust-src", "llvm-tools-preview"]
profile = "minimal"
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,8 @@ impl<'tcx> LateLintPass<'tcx> for SerializeWithoutVersionize {
cx.span_lint(
SERIALIZE_WITHOUT_VERSIONIZE,
cx.tcx.def_span(type_def_id),
format!(
"Type {ty} implements `Serialize` but does not implement `Versionize`"
),|diag| {
|diag| {
diag.primary_message("Type {ty} implements `Serialize` but does not implement `Versionize`");
diag.note("Add `#[derive(Versionize)] for this type or silence this warning using \
`#[cfg_attr(tfhe_lints, allow(tfhe_lints::serialize_without_versionize))]``");
diag.span_note(item.span, "`Serialize` derived here");
Expand Down

0 comments on commit 3d1912f

Please sign in to comment.