Open
Description
I think the error speaks for itself.
Here is the change I made, applied to 025f0e649e3a9869e42148ee8cf3041e24a13e8c.
diff --git a/src/librustdoc/clean/types.rs b/src/librustdoc/clean/types.rs
index 26b630440a1..4c2f3b5ce43 100644
--- a/src/librustdoc/clean/types.rs
+++ b/src/librustdoc/clean/types.rs
@@ -1163,33 +1163,7 @@ fn def_id(&self) -> Option<DefId> {
}
#[derive(Clone, PartialEq, Eq, Hash, Copy, Debug)]
-crate enum PrimitiveType {
- Isize,
- I8,
- I16,
- I32,
- I64,
- I128,
- Usize,
- U8,
- U16,
- U32,
- U64,
- U128,
- F32,
- F64,
- Char,
- Bool,
- Str,
- Slice,
- Array,
- Tuple,
- Unit,
- RawPointer,
- Reference,
- Fn,
- Never,
-}
+crate enum PrimitiveType(Symbol);
#[derive(Clone, PartialEq, Eq, Hash, Copy, Debug)]
crate enum TypeKind {
errors.log edit: this is the wrong logfile, see below
I think the main thing making this so awful (1429 errors) is that it continues to try and do name resolution afterwards. I would not expect any errors other than further syntax errors to be reported.