Some refactoring
This commit is contained in:
parent
e4e5db4e42
commit
8ef81388e2
27 changed files with 74 additions and 89 deletions
|
@ -931,6 +931,7 @@ impl ReachEverythingInTheInterfaceVisitor<'_, 'tcx> {
|
|||
GenericParamDefKind::Const { has_default, .. } => {
|
||||
self.visit(self.ev.tcx.type_of(param.def_id));
|
||||
if has_default {
|
||||
// FIXME(const_generic_defaults)
|
||||
// how should the error case be handled here?
|
||||
// let default_const = self.ev.tcx.const_eval_poly(param.def_id).unwrap();
|
||||
// self.visit(default_const);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue