diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2023-07-15 12:15:55 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2023-08-04 16:09:14 +0000 |
| commit | 53e5fd6a61b42eb4a401a8d0de58eb6f6b39b9d4 (patch) | |
| tree | ecbcdd08b8a75275cec594e75f14ca96e815d7b1 /compiler/rustc_lint/src/lib.rs | |
| parent | 6c7054e9629a9cfb0a7ba795954812c3a6a47b16 (diff) | |
| download | rust-53e5fd6a61b42eb4a401a8d0de58eb6f6b39b9d4.tar.gz rust-53e5fd6a61b42eb4a401a8d0de58eb6f6b39b9d4.zip | |
Make MissingDebugImplementation a module lint.
Diffstat (limited to 'compiler/rustc_lint/src/lib.rs')
| -rw-r--r-- | compiler/rustc_lint/src/lib.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/compiler/rustc_lint/src/lib.rs b/compiler/rustc_lint/src/lib.rs index 2e2ec1a698e..8ae0c9ba3fe 100644 --- a/compiler/rustc_lint/src/lib.rs +++ b/compiler/rustc_lint/src/lib.rs @@ -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, ] ] ); |
