Skip to content

Commit

Permalink
Add FIXME for const generic defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
varkor committed Oct 3, 2020
1 parent 488b759 commit 96eb68b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/rustc_typeck/src/collect.rs
Expand Up @@ -222,6 +222,7 @@ impl Visitor<'tcx> for CollectItemTypesVisitor<'tcx> {
hir::GenericParamKind::Const { .. } => {
let def_id = self.tcx.hir().local_def_id(param.hir_id);
self.tcx.ensure().type_of(def_id);
// FIXME(const_generics:defaults)
}
}
}
Expand Down

0 comments on commit 96eb68b

Please sign in to comment.