We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56c7656 commit 40ce1fcCopy full SHA for 40ce1fc
benches/helpers/miri_helper.rs
@@ -15,7 +15,7 @@ struct MiriCompilerCalls<'a> {
15
}
16
17
impl rustc_driver::Callbacks for MiriCompilerCalls<'_> {
18
- fn after_analysis(&mut self, compiler: &interface::Compiler<'_>) -> bool {
+ fn after_analysis(&mut self, compiler: &interface::Compiler) -> bool {
19
compiler.session().abort_if_errors();
20
21
compiler.global_ctxt().unwrap().peek_mut().enter(|tcx| {
@@ -24,7 +24,7 @@ impl rustc_driver::Callbacks for MiriCompilerCalls<'_> {
24
);
25
26
self.bencher.iter(|| {
27
- let config = MiriConfig { validate: true, args: vec![] };
+ let config = miri::MiriConfig { validate: true, args: vec![] };
28
eval_main(tcx, entry_def_id, config);
29
});
30
0 commit comments