Skip to content

Commit 4fe23fa

Browse files
authored
Merge pull request #663 from RalfJung/range-contains
remove stabilized feature
2 parents 72b4ee0 + 5d3825f commit 4fe23fa

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nightly-2019-03-11
1+
nightly-2019-03-18

src/bin/miri-rustc-tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ impl rustc_driver::Callbacks for MiriCompilerCalls {
4747
impl<'a, 'tcx: 'a, 'hir> itemlikevisit::ItemLikeVisitor<'hir> for Visitor<'a, 'tcx> {
4848
fn visit_item(&mut self, i: &'hir hir::Item) {
4949
if let hir::ItemKind::Fn(.., body_id) = i.node {
50-
if i.attrs.iter().any(|attr| attr.name() == "test") {
50+
if i.attrs.iter().any(|attr| attr.check_name("test")) {
5151
let config = MiriConfig { validate: true, args: vec![] };
5252
let did = self.0.hir().body_owner_def_id(body_id);
5353
println!("running test: {}", self.0.def_path_debug_str(did));

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![feature(rustc_private, range_contains)]
1+
#![feature(rustc_private)]
22

33
#![allow(clippy::cast_lossless)]
44

0 commit comments

Comments
 (0)