Skip to content

Commit 2655537

Browse files
committed
---
yaml --- r: 276511 b: refs/heads/try c: 726ba66 h: refs/heads/master i: 276509: 9451de5 276507: 45ccfbe 276503: 76b5fcf 276495: 7b1319e 276479: 1837f60
1 parent bbc5511 commit 2655537

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
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: 6dbb0e86aec11050480beb76eade6fb805010ba7
33
refs/heads/snap-stage3: 235d77457d80b549dad3ac36d94f235208a1eafb
4-
refs/heads/try: 8a7b1bca045b3b582f53337799b90a9309adc96b
4+
refs/heads/try: 726ba6630d28a63e197e9eef1cc20abd157b2910
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
66
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
77
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try/src/librustc_trans/back/symbol_names.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -190,10 +190,10 @@ fn exported_name_with_opt_suffix<'a, 'tcx>(ccx: &CrateContext<'a, 'tcx>,
190190
instance: &Instance<'tcx>,
191191
suffix: Option<&str>)
192192
-> String {
193-
let &Instance { def: mut def_id, params: parameters } = instance;
193+
let &Instance { def: mut def_id, ref substs } = instance;
194194

195-
debug!("exported_name_with_opt_suffix(def_id={:?}, parameters={:?}, suffix={:?})",
196-
def_id, parameters, suffix);
195+
debug!("exported_name_with_opt_suffix(def_id={:?}, substs={:?}, suffix={:?})",
196+
def_id, substs, suffix);
197197

198198
if let Some(node_id) = ccx.tcx().map.as_local_node_id(def_id) {
199199
if let Some(&src_def_id) = ccx.external_srcs().borrow().get(&node_id) {
@@ -234,7 +234,7 @@ fn exported_name_with_opt_suffix<'a, 'tcx>(ccx: &CrateContext<'a, 'tcx>,
234234
// and should not matter anyhow.
235235
let instance_ty = ccx.tcx().erase_regions(&instance_ty.ty);
236236

237-
let hash = get_symbol_hash(ccx, &def_path, instance_ty, parameters.as_slice());
237+
let hash = get_symbol_hash(ccx, &def_path, instance_ty, substs.types.as_slice());
238238

239239
let mut buffer = SymbolPathBuffer {
240240
names: Vec::with_capacity(def_path.data.len())

0 commit comments

Comments
 (0)