File tree Expand file tree Collapse file tree 2 files changed +0
-20
lines changed Expand file tree Collapse file tree 2 files changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -29,16 +29,6 @@ struct MiriCompilerCalls {
2929}
3030
3131impl rustc_driver:: Callbacks for MiriCompilerCalls {
32- fn after_parsing ( & mut self , compiler : & interface:: Compiler ) -> Compilation {
33- let attr = (
34- syntax:: symbol:: Symbol :: intern ( "miri" ) ,
35- syntax:: feature_gate:: AttributeType :: Whitelisted ,
36- ) ;
37- compiler. session ( ) . plugin_attributes . borrow_mut ( ) . push ( attr) ;
38-
39- Compilation :: Continue
40- }
41-
4232 fn after_analysis ( & mut self , compiler : & interface:: Compiler ) -> Compilation {
4333 compiler. session ( ) . abort_if_errors ( ) ;
4434 compiler. global_ctxt ( ) . unwrap ( ) . peek_mut ( ) . enter ( |tcx| {
Original file line number Diff line number Diff line change @@ -28,16 +28,6 @@ struct MiriCompilerCalls {
2828}
2929
3030impl rustc_driver:: Callbacks for MiriCompilerCalls {
31- fn after_parsing ( & mut self , compiler : & interface:: Compiler ) -> Compilation {
32- let attr = (
33- syntax:: symbol:: Symbol :: intern ( "miri" ) ,
34- syntax:: feature_gate:: AttributeType :: Whitelisted ,
35- ) ;
36- compiler. session ( ) . plugin_attributes . borrow_mut ( ) . push ( attr) ;
37-
38- Compilation :: Continue
39- }
40-
4131 fn after_analysis ( & mut self , compiler : & interface:: Compiler ) -> Compilation {
4232 init_late_loggers ( ) ;
4333 compiler. session ( ) . abort_if_errors ( ) ;
You can’t perform that action at this time.
0 commit comments