about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvarkor <github@varkor.com>2020-10-03 14:25:10 +0100
committervarkor <github@varkor.com>2020-10-03 14:28:55 +0100
commit96eb68b1216e7fa0706a999595752bfd25dca886 (patch)
tree9cd3d07a803297a82ae3e1b434ad3188b4cbd9a0
parent488b759d5ca97c167d6a35d59d18cfb5770e70d0 (diff)
downloadrust-96eb68b1216e7fa0706a999595752bfd25dca886.tar.gz
rust-96eb68b1216e7fa0706a999595752bfd25dca886.zip
Add `FIXME` for const generic defaults
-rw-r--r--compiler/rustc_typeck/src/collect.rs1
1 files changed, 1 insertions, 0 deletions
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)
                 }
             }
         }