Skip to content

Commit

Permalink
bump nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
y21 committed Dec 23, 2024
1 parent 65b319f commit 25cdad9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion cli/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::backtrace::{Backtrace, BacktraceStatus};

use anyhow::{bail, Context};
use anyhow::{Context, bail};
use clap::{Arg, Command};
use colorful::Colorful;
use dash_optimizer::OptLevel;
Expand Down
2 changes: 1 addition & 1 deletion lints/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]
clippy_utils = { git = "https://github.com/rust-lang/rust-clippy", rev = "af1f78a" }
clippy_utils = { git = "https://github.com/rust-lang/rust-clippy", rev = "988042e" }

[dev-dependencies]
prettydiff = "0.7.0"
Expand Down
8 changes: 4 additions & 4 deletions lints/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#![feature(rustc_private, let_chains, box_patterns, if_let_guard)]
#![deny(rust_2018_idioms)]

use missing_root::{MissingRoot, MISSING_ROOT};
use missing_root::{MISSING_ROOT, MissingRoot};
use rustc_driver::{Callbacks, RunCompiler};
use rustc_session::config::{ErrorOutputType, OptLevel};
use rustc_session::EarlyDiagCtxt;
use rustc_session::config::{ErrorOutputType, OptLevel};

extern crate rustc_ast;
extern crate rustc_driver;
Expand Down Expand Up @@ -45,9 +45,9 @@ fn main() {

if args.iter().any(|arg| arg == "--cap-lints") || !args.iter().any(|arg| arg.contains("dash_vm")) {
// dependencies
RunCompiler::new(&args[1..], &mut RustcCallbacks).run().unwrap();
RunCompiler::new(&args[1..], &mut RustcCallbacks).run();
} else {
args.extend(["--cfg", "dash_lints"].map(String::from));
RunCompiler::new(&args[1..], &mut PrimaryCallbacks).run().unwrap();
RunCompiler::new(&args[1..], &mut PrimaryCallbacks).run();
}
}

0 comments on commit 25cdad9

Please sign in to comment.