Skip to content

Commit 712be43

Browse files
---
yaml --- r: 143057 b: refs/heads/try2 c: d8c27c3 h: refs/heads/master i: 143055: 42cda62 v: v3
1 parent 7f41f00 commit 712be43

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: 72cf2ee1368d385fa13772fd70b7a9e748aaec6b
8+
refs/heads/try2: d8c27c3446582a318b35103e6ec3594c53f196b1
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

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

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,15 @@ pub fn create_function_metadata(fcx: fn_ctxt) -> DISubprogram {
289289
"create_function_metadata: item bound to non-function")
290290
}
291291
}
292-
ast_map::node_method(@ast::method { decl: ast::fn_decl { output: ref ty, _ },
293-
id: id, ident: ident, _}, _, _) => {
292+
ast_map::node_method(
293+
@ast::method {
294+
decl: ast::fn_decl { output: ref ty, _ },
295+
id: id,
296+
ident: ident,
297+
_
298+
},
299+
_,
300+
_) => {
294301
(ident, ty, id)
295302
}
296303
ast_map::node_expr(ref expr) => {
@@ -309,10 +316,10 @@ pub fn create_function_metadata(fcx: fn_ctxt) -> DISubprogram {
309316
decl: ast::fn_decl { output: ref ty, _ },
310317
id: id,
311318
ident: ident,
312-
_}
313-
),
314-
_def_id,
315-
_path) => {
319+
_
320+
}),
321+
_,
322+
_) => {
316323
(ident, ty, id)
317324
}
318325
_ => fcx.ccx.sess.bug("create_function_metadata: unexpected sort of node")

0 commit comments

Comments
 (0)