File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
trunk/src/librustc/middle Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: f5e5bdb1973faddd9cab12201f5f8678a2f5b985
2
+ refs/heads/master: 2258f906abcd518ebd88dde2c7a7605373059687
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 3b2ed14906fd9f9daa27cc7d1dad263d2f5ff450
5
5
refs/heads/try: ccf8fedf1cffcb8f6f3581d53d220039e192fe77
Original file line number Diff line number Diff line change @@ -75,7 +75,8 @@ impl<'a> Annotator<'a> {
75
75
if let Some ( stab) = self . parent . clone ( ) {
76
76
self . index . local . insert ( id, stab) ;
77
77
} else if self . index . staged_api && required
78
- && self . export_map . contains ( & id) {
78
+ && self . export_map . contains ( & id)
79
+ && !self . sess . opts . test {
79
80
self . sess . span_err ( item_sp,
80
81
"This node does not have a stability attribute" ) ;
81
82
}
You can’t perform that action at this time.
0 commit comments