More rustup

This commit is contained in:
Yuki Okushi
2020-01-06 13:22:24 +09:00
committed by Adam Perry
parent ebacb8ae4e
commit 3607dafd9b
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -7,7 +7,7 @@
extern crate rustc_errors;
extern crate rustc_interface;
extern crate rustc_metadata;
extern crate syntax;
extern crate rustc_span;
use std::io;
use std::io::Write;
@@ -40,7 +40,7 @@ fn after_analysis<'tcx>(
impl<'tcx, 'hir> itemlikevisit::ItemLikeVisitor<'hir> for Visitor<'tcx> {
fn visit_item(&mut self, i: &'hir hir::Item) {
if let hir::ItemKind::Fn(.., body_id) = i.kind {
if i.attrs.iter().any(|attr| attr.check_name(syntax::symbol::sym::test))
if i.attrs.iter().any(|attr| attr.check_name(rustc_span::symbol::sym::test))
{
let config = MiriConfig {
validate: true,
+1 -1
View File
@@ -12,7 +12,7 @@
extern crate rustc_errors;
extern crate rustc_interface;
extern crate rustc_metadata;
extern crate syntax;
extern crate rustc_span;
use std::convert::TryFrom;
use std::env;