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 {
29
29
}
30
30
31
31
impl 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
-
42
32
fn after_analysis ( & mut self , compiler : & interface:: Compiler ) -> Compilation {
43
33
compiler. session ( ) . abort_if_errors ( ) ;
44
34
compiler. global_ctxt ( ) . unwrap ( ) . peek_mut ( ) . enter ( |tcx| {
Original file line number Diff line number Diff line change @@ -28,16 +28,6 @@ struct MiriCompilerCalls {
28
28
}
29
29
30
30
impl 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
-
41
31
fn after_analysis ( & mut self , compiler : & interface:: Compiler ) -> Compilation {
42
32
init_late_loggers ( ) ;
43
33
compiler. session ( ) . abort_if_errors ( ) ;
You can’t perform that action at this time.
0 commit comments