File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
branches/tmp/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 @@ -34,6 +34,6 @@ refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
34
34
refs/heads/beta: 522d09dfecbeca1595f25ac58c6d0178bbd21d7d
35
35
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
36
36
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
37
- refs/heads/tmp: 298d1578f074c9472fa69f7ac902d8703ac07c7a
37
+ refs/heads/tmp: caf6f17c0f89b3384a25b6d74bb2332c7ec2d2ac
38
38
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
39
39
refs/tags/homu-tmp: 7ce5a21b274ff53e77b561467177bc34c668f95e
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