File tree 1 file changed +6
-6
lines changed
tests/ui-fulldeps/stable-mir
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ extern crate rustc_interface;
14
14
extern crate rustc_middle;
15
15
extern crate rustc_smir;
16
16
17
- use rustc_driver:: { Callbacks , Compilation , RunCompiler } ;
17
+ use rustc_driver:: { Callbacks , Compilation } ;
18
18
use rustc_hir:: def:: DefKind ;
19
19
use rustc_interface:: { interface, Queries } ;
20
20
use rustc_middle:: ty:: TyCtxt ;
@@ -73,17 +73,17 @@ fn get_item<'a>(
73
73
fn main ( ) {
74
74
let path = "input.rs" ;
75
75
generate_input ( & path) . unwrap ( ) ;
76
- let args = vec ! [
76
+ let _args = vec ! [
77
77
"rustc" . to_string( ) ,
78
78
"--crate-type=lib" . to_string( ) ,
79
79
"--crate-name" . to_string( ) ,
80
80
CRATE_NAME . to_string( ) ,
81
81
path. to_string( ) ,
82
82
] ;
83
- rustc_driver:: catch_fatal_errors ( || {
84
- RunCompiler :: new ( & args, & mut SMirCalls { } ) . run ( ) . unwrap ( ) ;
85
- } )
86
- . unwrap ( ) ;
83
+ // rustc_driver::catch_fatal_errors(|| {
84
+ // RunCompiler::new(&args, &mut SMirCalls {}).run().unwrap();
85
+ // })
86
+ // .unwrap();
87
87
}
88
88
89
89
struct SMirCalls { }
You can’t perform that action at this time.
0 commit comments