We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5cb156 commit 3919b71Copy full SHA for 3919b71
src/librustdoc/clean/mod.rs
@@ -1853,7 +1853,7 @@ pub(crate) fn clean_middle_ty<'tcx>(
1853
ty::Placeholder(..) => panic!("Placeholder"),
1854
ty::GeneratorWitness(..) => panic!("GeneratorWitness"),
1855
ty::Infer(..) => panic!("Infer"),
1856
- ty::Error(_) => panic!("Error"),
+ ty::Error(_) => rustc_errors::FatalError.raise(),
1857
}
1858
1859
0 commit comments