File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
trunk/src/librustc_typeck/check 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
- refs/heads/master: d9b9f4ee7de2b5a05547085382a7fc6e196f7c0d
2
+ refs/heads/master: de4b0e996192d6784e0a65c66d095a6198894c47
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 857ef6e272e5634cb9f3e6ee50eb6bc2a2e71651
5
5
refs/heads/try: 7b4ef47b7805a402d756fb8157101f64880a522f
Original file line number Diff line number Diff line change @@ -338,9 +338,8 @@ impl<'tcx> CastCheck<'tcx> {
338
338
// To allow unsafe pointers to work correctly, we
339
339
// need to special-case obtaining an unsafe pointer
340
340
// from a region pointer to a vector.
341
- // TODO: explain comment.
342
341
343
- // this will report a type mismatch if needed
342
+ // this will report a type mismatch if needed
344
343
demand:: eqtype ( fcx, self . span , ety, m_1. ty ) ;
345
344
return Ok ( CastKind :: ArrayPtrCast ) ;
346
345
}
You can’t perform that action at this time.
0 commit comments