Skip to content

Commit 4a5866c

Browse files
committed
---
yaml --- r: 178750 b: refs/heads/master c: 2258f90 h: refs/heads/master v: v3
1 parent 7a6beea commit 4a5866c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: f5e5bdb1973faddd9cab12201f5f8678a2f5b985
2+
refs/heads/master: 2258f906abcd518ebd88dde2c7a7605373059687
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 3b2ed14906fd9f9daa27cc7d1dad263d2f5ff450
55
refs/heads/try: ccf8fedf1cffcb8f6f3581d53d220039e192fe77

trunk/src/librustc/middle/stability.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ impl<'a> Annotator<'a> {
7575
if let Some(stab) = self.parent.clone() {
7676
self.index.local.insert(id, stab);
7777
} else if self.index.staged_api && required
78-
&& self.export_map.contains(&id) {
78+
&& self.export_map.contains(&id)
79+
&& !self.sess.opts.test {
7980
self.sess.span_err(item_sp,
8081
"This node does not have a stability attribute");
8182
}

0 commit comments

Comments
 (0)