Skip to content

Commit e9abd86

Browse files
chore: Fix lints
1 parent d8c9032 commit e9abd86

File tree

4 files changed

+3
-2
lines changed

4 files changed

+3
-2
lines changed

compiler/pavex_cli/src/activation/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#![allow(unused_assignments)] // False positive due to fields only used in the Diagnostic/Display impl derived by the miette macro.
12
use crate::activation::token::ValidatedClaims;
23
use crate::command::Command;
34
use crate::locator::PavexLocator;

compiler/pavex_cli_deps/src/installers.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#![allow(unused_assignments)] // False positives due to fields only used in Display impls.
12
use crate::commands::{
23
install_rustdoc_json, install_rustup_toolchain, is_cargo_px_installed,
34
is_rustdoc_json_installed, is_rustup_installed, is_rustup_toolchain_installed,

compiler/pavex_miette/src/graphical_report_handler.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,6 @@ impl GraphicalReportHandler {
824824
};
825825
for _ in 0..n_leading_whitespaces {
826826
write!(f, " ")?;
827-
curr_offset += 1;
828827
}
829828

830829
let label_line = if i == 0 {

compiler/pavexc/src/compiler/app.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use std::collections::BTreeSet;
2-
use std::io::{BufWriter, Write};
2+
use std::io::Write;
33
use std::path::Path;
44

55
use ahash::{HashMap, HashMapExt};

0 commit comments

Comments
 (0)