Make MissingDebugImplementation a module lint.

This commit is contained in:
Camille GILLOT 2023-07-15 12:15:55 +00:00
parent 6c7054e962
commit 53e5fd6a61
4 changed files with 27 additions and 35 deletions

View file

@ -193,10 +193,6 @@ late_lint_methods!(
[
// Tracks attributes of parents
MissingDoc: MissingDoc::new(),
// Builds a global list of all impls of `Debug`.
// FIXME: Turn the computation of types which implement Debug into a query
// and change this to a module lint pass
MissingDebugImplementations: MissingDebugImplementations::default(),
]
]
);
@ -253,6 +249,7 @@ late_lint_methods!(
OpaqueHiddenInferredBound: OpaqueHiddenInferredBound,
MultipleSupertraitUpcastable: MultipleSupertraitUpcastable,
MapUnitFn: MapUnitFn,
MissingDebugImplementations: MissingDebugImplementations,
]
]
);