diff options
| author | varkor <github@varkor.com> | 2019-05-06 13:55:28 +0100 |
|---|---|---|
| committer | varkor <github@varkor.com> | 2019-05-06 13:55:28 +0100 |
| commit | ad78fcf5246c9accb2a35ced91d85b710648abc9 (patch) | |
| tree | 9c7d0a5fa1fb439d2ec9bfb4cd71fcf25c2d6878 | |
| parent | 59ebd1b7c2b9558ab31c57878666f0707f33b689 (diff) | |
| download | rust-ad78fcf5246c9accb2a35ced91d85b710648abc9.tar.gz rust-ad78fcf5246c9accb2a35ced91d85b710648abc9.zip | |
Ignore const parameters when constructing type bounds in rustdoc
Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com>
| -rw-r--r-- | src/librustdoc/clean/mod.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/librustdoc/clean/mod.rs b/src/librustdoc/clean/mod.rs index de74a6a5400..3a260db8065 100644 --- a/src/librustdoc/clean/mod.rs +++ b/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() |
