From 96eb68b1216e7fa0706a999595752bfd25dca886 Mon Sep 17 00:00:00 2001 From: varkor Date: Sat, 3 Oct 2020 14:25:10 +0100 Subject: [PATCH] Add `FIXME` for const generic defaults --- compiler/rustc_typeck/src/collect.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/rustc_typeck/src/collect.rs b/compiler/rustc_typeck/src/collect.rs index 9aca112a914..1f4f40fca9b 100644 --- a/compiler/rustc_typeck/src/collect.rs +++ b/compiler/rustc_typeck/src/collect.rs @@ -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) } } }