Add FIXME marking where the work on #2794 has gotten to, so far.

This commit is contained in:
Lindsey Kuper 2012-07-13 17:16:43 -07:00
parent 9aa8a84766
commit 1ffc0720bb

View file

@ -266,6 +266,9 @@ fn check_methods_against_trait(ccx: @crate_ctxt,
if_m, tpt.substs, selfty);
}
none {
// FIXME (#2794): if there's a default impl in the trait,
// use that.
tcx.sess.span_err(
a_trait_ty.path.span,
#fmt["missing method `%s`", *if_m.ident]);