Skip to content

Commit

Permalink
Add FIXME marking where the work on #2794 has gotten to, so far.
Browse files Browse the repository at this point in the history
  • Loading branch information
lkuper committed Jul 14, 2012
1 parent 9aa8a84 commit 1ffc072
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/rustc/middle/typeck/collect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit 1ffc072

Please sign in to comment.