Skip to content

Commit 1ffc072

Browse files
committed
Add FIXME marking where the work on #2794 has gotten to, so far.
1 parent 9aa8a84 commit 1ffc072

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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)