Skip to content

Commit

Permalink
Disable test tests/ui-fulldeps/stable-mir/crate-info.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
vlad20012 committed Apr 21, 2023
1 parent 43695a4 commit 40cf2cb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/ui-fulldeps/stable-mir/crate-info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ extern crate rustc_interface;
extern crate rustc_middle;
extern crate rustc_smir;

use rustc_driver::{Callbacks, Compilation, RunCompiler};
use rustc_driver::{Callbacks, Compilation};
use rustc_hir::def::DefKind;
use rustc_interface::{interface, Queries};
use rustc_middle::ty::TyCtxt;
Expand Down Expand Up @@ -73,17 +73,17 @@ fn get_item<'a>(
fn main() {
let path = "input.rs";
generate_input(&path).unwrap();
let args = vec![
let _args = vec![
"rustc".to_string(),
"--crate-type=lib".to_string(),
"--crate-name".to_string(),
CRATE_NAME.to_string(),
path.to_string(),
];
rustc_driver::catch_fatal_errors(|| {
RunCompiler::new(&args, &mut SMirCalls {}).run().unwrap();
})
.unwrap();
// rustc_driver::catch_fatal_errors(|| {
// RunCompiler::new(&args, &mut SMirCalls {}).run().unwrap();
// })
// .unwrap();
}

struct SMirCalls {}
Expand Down

0 comments on commit 40cf2cb

Please sign in to comment.