Skip to content

Commit 2dd57f4

Browse files
committed
---
yaml --- r: 271660 b: refs/heads/master c: a3fdf32 h: refs/heads/master
1 parent 2591dbd commit 2dd57f4

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
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 157ba0038dea24f06d594b6e1190fcd0eb431018
2+
refs/heads/master: a3fdf327e8bda2aaafd597f09c25b2192bb4a287
33
refs/heads/snap-stage3: 235d77457d80b549dad3ac36d94f235208a1eafb
44
refs/heads/try: 49312a405e14a449b98fe0056b12a40ac128be4a
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

trunk/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)