File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
tests/ui-fulldeps/stable-mir Expand file tree Collapse file tree 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;
1414extern crate rustc_middle;
1515extern crate rustc_smir;
1616
17- use rustc_driver:: { Callbacks , Compilation , RunCompiler } ;
17+ use rustc_driver:: { Callbacks , Compilation } ;
1818use rustc_hir:: def:: DefKind ;
1919use rustc_interface:: { interface, Queries } ;
2020use rustc_middle:: ty:: TyCtxt ;
@@ -73,17 +73,17 @@ fn get_item<'a>(
7373fn main ( ) {
7474 let path = "input.rs" ;
7575 generate_input ( & path) . unwrap ( ) ;
76- let args = vec ! [
76+ let _args = vec ! [
7777 "rustc" . to_string( ) ,
7878 "--crate-type=lib" . to_string( ) ,
7979 "--crate-name" . to_string( ) ,
8080 CRATE_NAME . to_string( ) ,
8181 path. to_string( ) ,
8282 ] ;
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();
8787}
8888
8989struct SMirCalls { }
You can’t perform that action at this time.
0 commit comments