File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
branches/snap-stage3/src/librustc/middle Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 857ac28867722111249b5c3ef68e32499bd11ea0
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: 298d1578f074c9472fa69f7ac902d8703ac07c7a
4
+ refs/heads/snap-stage3: caf6f17c0f89b3384a25b6d74bb2332c7ec2d2ac
5
5
refs/heads/try: 1c28ab65017d74fc13d003f7c7a73d1a48e5406f
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
Original file line number Diff line number Diff line change @@ -5592,8 +5592,7 @@ pub fn predicates<'tcx>(
5592
5592
pub fn get_attrs < ' tcx > ( tcx : & ' tcx ctxt , did : DefId )
5593
5593
-> Cow < ' tcx , [ ast:: Attribute ] > {
5594
5594
if is_local ( did) {
5595
- let item = tcx. map . expect_item ( did. node ) ;
5596
- Cow :: Borrowed ( & item. attrs )
5595
+ Cow :: Borrowed ( tcx. map . attrs ( did. node ) )
5597
5596
} else {
5598
5597
Cow :: Owned ( csearch:: get_item_attrs ( & tcx. sess . cstore , did) )
5599
5598
}
You can’t perform that action at this time.
0 commit comments