Skip to content

Commit cfd37e6

Browse files
---
yaml --- r: 68398 b: refs/heads/auto c: 6af7861 h: refs/heads/master v: v3
1 parent d686579 commit cfd37e6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1414
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1515
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1616
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
17-
refs/heads/auto: 46d28c874ccb342e6b8f7fa45f7927bcde2f396e
17+
refs/heads/auto: 6af78610e745f68b8eb3e107bdb1e4b2288c617c
1818
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1919
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c

branches/auto/src/librustc/middle/trans/debuginfo.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -886,9 +886,9 @@ fn create_ty(cx: &mut CrateContext, t: ty::t, span: span) -> DIType {
886886
let pointee = create_ty(cx, mt.ty, span);
887887
create_pointer_type(cx, t, span, pointee)
888888
},
889-
ty::ty_rptr(ref _region, ref _mt) => {
890-
cx.sess.span_note(span, "debuginfo for rptr NYI");
891-
create_unimpl_ty(cx, t)
889+
ty::ty_rptr(_, ref mt) => {
890+
let pointee = create_ty(cx, mt.ty, span);
891+
create_pointer_type(cx, t, span, pointee)
892892
},
893893
ty::ty_bare_fn(ref barefnty) => {
894894
let inputs = barefnty.sig.inputs.map(|a| *a);

0 commit comments

Comments
 (0)