mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-08 01:20:29 +00:00
Update Rust toolchain to 1.89 (#19807)
This commit is contained in:
parent
b22586fa0e
commit
7dfde3b929
101 changed files with 234 additions and 200 deletions
|
@ -348,7 +348,7 @@ fn format_dev_multi_project(
|
|||
debug!(parent: None, "Starting {}", project_path.display());
|
||||
|
||||
match format_dev_project(
|
||||
&[project_path.clone()],
|
||||
std::slice::from_ref(&project_path),
|
||||
args.stability_check,
|
||||
args.write,
|
||||
args.preview,
|
||||
|
@ -628,7 +628,7 @@ struct CheckRepoResult {
|
|||
}
|
||||
|
||||
impl CheckRepoResult {
|
||||
fn display(&self, format: Format) -> DisplayCheckRepoResult {
|
||||
fn display(&self, format: Format) -> DisplayCheckRepoResult<'_> {
|
||||
DisplayCheckRepoResult {
|
||||
result: self,
|
||||
format,
|
||||
|
@ -665,7 +665,7 @@ struct Diagnostic {
|
|||
}
|
||||
|
||||
impl Diagnostic {
|
||||
fn display(&self, format: Format) -> DisplayDiagnostic {
|
||||
fn display(&self, format: Format) -> DisplayDiagnostic<'_> {
|
||||
DisplayDiagnostic {
|
||||
diagnostic: self,
|
||||
format,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue