Skip to content

Commit 4f88ed3

Browse files
committed
librustc: Remove obsolete FIXME in item collection. rs=comments-only
1 parent d9c8428 commit 4f88ed3

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/librustc/middle/typeck/collect.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -633,12 +633,7 @@ fn convert(ccx: @crate_ctxt, it: @ast::item) {
633633
let (_, provided_methods) =
634634
split_trait_methods(/*bad*/copy *trait_methods);
635635
let {bounds, _} = mk_substs(ccx, /*bad*/copy *tps, rp);
636-
let _cms = convert_methods(ccx, provided_methods, rp, bounds);
637-
// FIXME (#2616): something like this, when we start having
638-
// trait inheritance?
639-
// for trait_ref.each |t| {
640-
// check_methods_against_trait(ccx, tps, rp, selfty, *t, cms);
641-
// }
636+
let _ = convert_methods(ccx, provided_methods, rp, bounds);
642637
}
643638
ast::item_struct(struct_def, tps) => {
644639
// Write the class type

0 commit comments

Comments
 (0)