We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 361543d commit 8b81bb8Copy full SHA for 8b81bb8
src/librustdoc/clean/mod.rs
@@ -1503,7 +1503,9 @@ impl Clean<Type> for hir::Ty<'_> {
1503
}
1504
1505
/// Returns `None` if the type could not be normalized
1506
+#[allow(unreachable_code, unused_variables)]
1507
fn normalize(cx: &DocContext<'tcx>, ty: Ty<'_>) -> Option<Ty<'tcx>> {
1508
+ return None; // HACK: low-churn fix for #79459 while we wait for a trait normalization fix
1509
use crate::rustc_trait_selection::infer::TyCtxtInferExt;
1510
use crate::rustc_trait_selection::traits::query::normalize::AtExt;
1511
use rustc_middle::traits::ObligationCause;
src/test/rustdoc/normalize-assoc-item.rs
@@ -1,6 +1,7 @@
1
// ignore-tidy-linelength
2
// aux-build:normalize-assoc-item.rs
3
// build-aux-docs
4
+// ignore-test
5
6
pub trait Trait {
7
type X;
0 commit comments