Skip to content

Commit 6da7140

Browse files
committed
---
yaml --- r: 14846 b: refs/heads/try c: 45d0b5f h: refs/heads/master v: v3
1 parent 5a7de30 commit 6da7140

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5-
refs/heads/try: 83ed4f4bc4c53b2f660ab8f174d25d7118f9dae0
5+
refs/heads/try: 45d0b5f0b9bbcf97bc985fd26d64564273b7547a
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/try/src/rustc/middle/typeck.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2755,7 +2755,7 @@ fn check_expr_with_unifier(fcx: @fn_ctxt, expr: @ast::expr, unify: unifier,
27552755
none {
27562756
let t_err = resolve_type_vars_if_possible(fcx, expr_t);
27572757
let msg = #fmt["attempted access of field %s on type %s, but \
2758-
no method implementation was found",
2758+
no field or method with that name was found",
27592759
field, ty_to_str(tcx, t_err)];
27602760
tcx.sess.span_err(expr.span, msg);
27612761
// NB: Adding a bogus type to allow typechecking to continue

0 commit comments

Comments
 (0)