File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
trunk/src/librustc/middle Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 55c9cf72e34676df449d64f35d972f34634b240b
2
+ refs/heads/master: 57e4ed479e818332ba096d8eb8e890ad3d0cd4ab
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: eb8fd119c65c67f3b1b8268cc7341c22d39b7b61
5
5
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
Original file line number Diff line number Diff line change @@ -348,6 +348,10 @@ fn opt_deref_kind(t: ty::t) -> Option<deref_kind> {
348
348
Some ( deref_comp ( comp_variant ( did) ) )
349
349
}
350
350
351
+ ty:: ty_struct( _, _) => {
352
+ Some ( deref_comp ( comp_anon_field) )
353
+ }
354
+
351
355
ty:: ty_evec( mt, ty:: vstore_fixed( _) ) => {
352
356
Some ( deref_comp ( comp_index ( t, mt. mutbl ) ) )
353
357
}
You can’t perform that action at this time.
0 commit comments