File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ extern crate rustc_driver;
7
7
extern crate rustc_errors;
8
8
extern crate rustc_interface;
9
9
extern crate rustc_metadata;
10
- extern crate syntax ;
10
+ extern crate rustc_span ;
11
11
12
12
use std:: io;
13
13
use std:: io:: Write ;
@@ -40,7 +40,7 @@ impl rustc_driver::Callbacks for MiriCompilerCalls {
40
40
impl < ' tcx , ' hir > itemlikevisit:: ItemLikeVisitor < ' hir > for Visitor < ' tcx > {
41
41
fn visit_item ( & mut self , i : & ' hir hir:: Item ) {
42
42
if let hir:: ItemKind :: Fn ( .., body_id) = i. kind {
43
- if i. attrs . iter ( ) . any ( |attr| attr. check_name ( syntax :: symbol:: sym:: test) )
43
+ if i. attrs . iter ( ) . any ( |attr| attr. check_name ( rustc_span :: symbol:: sym:: test) )
44
44
{
45
45
let config = MiriConfig {
46
46
validate : true ,
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ extern crate rustc_driver;
12
12
extern crate rustc_errors;
13
13
extern crate rustc_interface;
14
14
extern crate rustc_metadata;
15
- extern crate syntax ;
15
+ extern crate rustc_span ;
16
16
17
17
use std:: convert:: TryFrom ;
18
18
use std:: env;
You can’t perform that action at this time.
0 commit comments