diff options
| author | scalexm <martin.alex32@hotmail.fr> | 2018-10-03 18:49:27 +0200 |
|---|---|---|
| committer | scalexm <martin.alex32@hotmail.fr> | 2018-10-03 18:49:27 +0200 |
| commit | edb3f9777b179c3da4519ec39ffd50f96e8f664c (patch) | |
| tree | 55bf3766638a8d768c829fa5ced3b2158f371fe2 | |
| parent | 608adfc3f01c425d2ede9263e6fafaaf7f38b377 (diff) | |
| download | rust-edb3f9777b179c3da4519ec39ffd50f96e8f664c.tar.gz rust-edb3f9777b179c3da4519ec39ffd50f96e8f664c.zip | |
Fix `ty::UnnormalizedProjection` in rustdoc
| -rw-r--r-- | src/librustdoc/clean/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustdoc/clean/mod.rs b/src/librustdoc/clean/mod.rs index 371b631723a..9b305ad03b0 100644 --- a/src/librustdoc/clean/mod.rs +++ b/src/librustdoc/clean/mod.rs @@ -2737,6 +2737,7 @@ impl<'tcx> Clean<Type> for Ty<'tcx> { ty::Closure(..) | ty::Generator(..) => Tuple(vec![]), // FIXME(pcwalton) + ty::UnnormalizedProjection(..) => panic!("UnnormalizedProjection"), ty::GeneratorWitness(..) => panic!("GeneratorWitness"), ty::Infer(..) => panic!("Infer"), ty::Error => panic!("Error"), |
