Skip to content

Commit ce014f9

Browse files
committed
---
yaml --- r: 271657 b: refs/heads/auto c: a3fdf32 h: refs/heads/master i: 271655: 7239514
1 parent 8537725 commit ce014f9

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
@@ -8,7 +8,7 @@ refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
88
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
99
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1010
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
11-
refs/heads/auto: 157ba0038dea24f06d594b6e1190fcd0eb431018
11+
refs/heads/auto: a3fdf327e8bda2aaafd597f09c25b2192bb4a287
1212
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1313
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336
1414
refs/tags/0.2: 1754d02027f2924bed83b0160ee340c7f41d5ea1

branches/auto/src/librustc/ty/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1342,7 +1342,7 @@ impl<'a, 'tcx> ParameterEnvironment<'a, 'tcx> {
13421342
}
13431343
_ => {
13441344
cx.sess.span_bug(item.span,
1345-
"ParameterEnvironment::from_item():
1345+
"ParameterEnvironment::for_item():
13461346
can't create a parameter \
13471347
environment for this kind of item")
13481348
}
@@ -1353,7 +1353,7 @@ impl<'a, 'tcx> ParameterEnvironment<'a, 'tcx> {
13531353
ParameterEnvironment::for_item(cx, cx.map.get_parent(id))
13541354
}
13551355
_ => {
1356-
cx.sess.bug(&format!("ParameterEnvironment::from_item(): \
1356+
cx.sess.bug(&format!("ParameterEnvironment::for_item(): \
13571357
`{}` is not an item",
13581358
cx.map.node_to_string(id)))
13591359
}

0 commit comments

Comments
 (0)