Skip to content

Commit 760c41b

Browse files
---
yaml --- r: 179183 b: refs/heads/auto c: 0f09021 h: refs/heads/master i: 179181: 73cf885 179179: a351490 179175: 3ece6f2 179167: a39d938 v: v3
1 parent 6a2e321 commit 760c41b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1010
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1111
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1212
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
13-
refs/heads/auto: 664c41b42790c6eb9a73975149c9f39397e6120e
13+
refs/heads/auto: 0f09021b376a0cbe18a15a3bb7a5c5201573d4dc
1414
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1515
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1616
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336

branches/auto/src/librustc_borrowck/borrowck/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -907,7 +907,7 @@ impl<'a, 'tcx> BorrowckCtxt<'a, 'tcx> {
907907
match loan_path.kind {
908908
LpUpvar(ty::UpvarId{ var_id: id, closure_expr_id: _ }) |
909909
LpVar(id) => {
910-
out.push_str(ty::local_var_name_str(self.tcx, id).get());
910+
out.push_str(&ty::local_var_name_str(self.tcx, id)[]);
911911
}
912912

913913
LpDowncast(ref lp_base, variant_def_id) => {
@@ -924,7 +924,7 @@ impl<'a, 'tcx> BorrowckCtxt<'a, 'tcx> {
924924
match fname {
925925
mc::NamedField(fname) => {
926926
out.push('.');
927-
out.push_str(token::get_name(fname).get());
927+
out.push_str(&token::get_name(fname)[]);
928928
}
929929
mc::PositionalField(idx) => {
930930
out.push('.');

0 commit comments

Comments
 (0)