Skip to content

Commit 1d9a0a0

Browse files
committed
---
yaml --- r: 186215 b: refs/heads/try c: 2258f90 h: refs/heads/master i: 186213: 6cd1fbb 186211: 7b4ecb1 186207: a2c64e1 v: v3
1 parent dbe06c6 commit 1d9a0a0

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
@@ -2,7 +2,7 @@
22
refs/heads/master: b4c965ee803a4521d8b4575f634e036f93e408f3
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 3a96d6a9818fe2affc98a187fb1065120458cee9
5-
refs/heads/try: f5e5bdb1973faddd9cab12201f5f8678a2f5b985
5+
refs/heads/try: 2258f906abcd518ebd88dde2c7a7605373059687
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
88
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try/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)