Skip to content

Commit 6727985

Browse files
committed
---
yaml --- r: 22534 b: refs/heads/master c: 1ffc072 h: refs/heads/master v: v3
1 parent 3156935 commit 6727985

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
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: 9aa8a847665f7d8959e74ca60e3eefecfc9e70bf
2+
refs/heads/master: 1ffc0720bb166f4d7d4cf6299ba237f8c0c95527
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be

trunk/src/rustc/middle/typeck/collect.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,9 @@ fn check_methods_against_trait(ccx: @crate_ctxt,
266266
if_m, tpt.substs, selfty);
267267
}
268268
none {
269+
// FIXME (#2794): if there's a default impl in the trait,
270+
// use that.
271+
269272
tcx.sess.span_err(
270273
a_trait_ty.path.span,
271274
#fmt["missing method `%s`", *if_m.ident]);

0 commit comments

Comments
 (0)