Skip to content

Commit f2c0c44

Browse files
committed
remove some leftovers from the miri-control-attribute days
1 parent 4712ed3 commit f2c0c44

File tree

2 files changed

+0
-20
lines changed

2 files changed

+0
-20
lines changed

src/bin/miri-rustc-tests.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,6 @@ struct MiriCompilerCalls {
2929
}
3030

3131
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-
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| {

src/bin/miri.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,6 @@ struct MiriCompilerCalls {
2828
}
2929

3030
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-
4131
fn after_analysis(&mut self, compiler: &interface::Compiler) -> Compilation {
4232
init_late_loggers();
4333
compiler.session().abort_if_errors();

0 commit comments

Comments
 (0)