Skip to content
Permalink
Browse files

Ignore const parameters when constructing type bounds in rustdoc

Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com>
  • Loading branch information...
varkor and yodaldevoid committed May 6, 2019
1 parent 59ebd1b commit ad78fcf5246c9accb2a35ced91d85b710648abc9
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/librustdoc/clean/mod.rs
@@ -1706,9 +1706,7 @@ impl<'a, 'tcx> Clean<Generics> for (&'a ty::Generics,
}
Some(param.clean(cx))
}
ty::GenericParamDefKind::Const { .. } => {
unimplemented!() // FIXME(const_generics)
}
ty::GenericParamDefKind::Const { .. } => None,
}).collect::<Vec<GenericParamDef>>();

let mut where_predicates = preds.predicates.iter()

0 comments on commit ad78fcf

Please sign in to comment.
You can’t perform that action at this time.