Skip to content

Commit 54e8389

Browse files
committed
---
yaml --- r: 167408 b: refs/heads/snap-stage3 c: 208d32d h: refs/heads/master v: v3
1 parent 2d447c1 commit 54e8389

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 023dfb0c898d851dee6ace2f8339b73b5287136b
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: de8e0ae22cd10aac86acbfedd8d1f411117de93e
4+
refs/heads/snap-stage3: 208d32d19253603833ec6f5184a71e8730a35285
55
refs/heads/try: 5204084bd2e46af7cc6e0147430e44dd0d657bbb
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d

branches/snap-stage3/src/librustc/metadata/encoder.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -900,6 +900,9 @@ fn encode_info_for_associated_type(ecx: &EncodeContext,
900900
encode_parent_item(rbml_w, local_def(parent_id));
901901
encode_item_sort(rbml_w, 't');
902902

903+
let type_scheme = ty::lookup_item_type(ecx.tcx, associated_type.def_id);
904+
encode_bounds_and_type(rbml_w, ecx, &type_scheme);
905+
903906
let stab = stability::lookup(ecx.tcx, associated_type.def_id);
904907
encode_stability(rbml_w, stab);
905908

0 commit comments

Comments
 (0)