2121
2222// tidy-alphabetical-start
2323#![ allow( internal_features) ]
24+ #![ allow( dead_code) ]
25+ #![ allow( unused) ]
2426#![ cfg_attr( doc, recursion_limit = "256" ) ] // FIXME(nnethercote): will be removed by #124141
2527#![ doc( html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/" ) ]
2628#![ doc( rust_logo) ]
@@ -154,7 +156,7 @@ early_lint_methods!(
154156 [
155157 pub BuiltinCombinedPreExpansionLintPass ,
156158 [
157- KeywordIdents : KeywordIdents ,
159+ // KeywordIdents: KeywordIdents,
158160 ]
159161 ]
160162) ;
@@ -164,24 +166,24 @@ early_lint_methods!(
164166 [
165167 pub BuiltinCombinedEarlyLintPass ,
166168 [
167- UnusedParens : UnusedParens :: default ( ) ,
168- UnusedBraces : UnusedBraces ,
169- UnusedImportBraces : UnusedImportBraces ,
170- UnsafeCode : UnsafeCode ,
171- SpecialModuleName : SpecialModuleName ,
172- AnonymousParameters : AnonymousParameters ,
173- EllipsisInclusiveRangePatterns : EllipsisInclusiveRangePatterns :: default ( ) ,
174- NonCamelCaseTypes : NonCamelCaseTypes ,
175- DeprecatedAttr : DeprecatedAttr :: default ( ) ,
176- WhileTrue : WhileTrue ,
177- NonAsciiIdents : NonAsciiIdents ,
178- HiddenUnicodeCodepoints : HiddenUnicodeCodepoints ,
179- IncompleteInternalFeatures : IncompleteInternalFeatures ,
180- RedundantSemicolons : RedundantSemicolons ,
181- UnusedDocComment : UnusedDocComment ,
182- Expr2024 : Expr2024 ,
183- Precedence : Precedence ,
184- DoubleNegations : DoubleNegations ,
169+ // UnusedParens: UnusedParens::default(),
170+ // UnusedBraces: UnusedBraces,
171+ // UnusedImportBraces: UnusedImportBraces,
172+ // UnsafeCode: UnsafeCode,
173+ // SpecialModuleName: SpecialModuleName,
174+ // AnonymousParameters: AnonymousParameters,
175+ // EllipsisInclusiveRangePatterns: EllipsisInclusiveRangePatterns::default(),
176+ // NonCamelCaseTypes: NonCamelCaseTypes,
177+ // DeprecatedAttr: DeprecatedAttr::default(),
178+ // WhileTrue: WhileTrue,
179+ // NonAsciiIdents: NonAsciiIdents,
180+ // HiddenUnicodeCodepoints: HiddenUnicodeCodepoints,
181+ // IncompleteInternalFeatures: IncompleteInternalFeatures,
182+ // RedundantSemicolons: RedundantSemicolons,
183+ // UnusedDocComment: UnusedDocComment,
184+ // Expr2024: Expr2024,
185+ // Precedence: Precedence,
186+ // DoubleNegations: DoubleNegations,
185187 ]
186188 ]
187189) ;
@@ -191,60 +193,60 @@ late_lint_methods!(
191193 [
192194 BuiltinCombinedModuleLateLintPass ,
193195 [
194- ForLoopsOverFallibles : ForLoopsOverFallibles ,
195- DefaultCouldBeDerived : DefaultCouldBeDerived :: default ( ) ,
196- DerefIntoDynSupertrait : DerefIntoDynSupertrait ,
197- DropForgetUseless : DropForgetUseless ,
198- ImproperCTypesDeclarations : ImproperCTypesDeclarations ,
199- ImproperCTypesDefinitions : ImproperCTypesDefinitions ,
200- InvalidFromUtf8 : InvalidFromUtf8 ,
201- VariantSizeDifferences : VariantSizeDifferences ,
202- PathStatements : PathStatements ,
203- LetUnderscore : LetUnderscore ,
204- InvalidReferenceCasting : InvalidReferenceCasting ,
196+ // ForLoopsOverFallibles: ForLoopsOverFallibles,
197+ // DefaultCouldBeDerived: DefaultCouldBeDerived::default(),
198+ // DerefIntoDynSupertrait: DerefIntoDynSupertrait,
199+ // DropForgetUseless: DropForgetUseless,
200+ // ImproperCTypesDeclarations: ImproperCTypesDeclarations,
201+ // ImproperCTypesDefinitions: ImproperCTypesDefinitions,
202+ // InvalidFromUtf8: InvalidFromUtf8,
203+ // VariantSizeDifferences: VariantSizeDifferences,
204+ // PathStatements: PathStatements,
205+ // LetUnderscore: LetUnderscore,
206+ // InvalidReferenceCasting: InvalidReferenceCasting,
205207 // Depends on referenced function signatures in expressions
206- UnusedResults : UnusedResults ,
207- UnitBindings : UnitBindings ,
208- NonUpperCaseGlobals : NonUpperCaseGlobals ,
209- NonShorthandFieldPatterns : NonShorthandFieldPatterns ,
210- UnusedAllocation : UnusedAllocation ,
208+ // UnusedResults: UnusedResults,
209+ // UnitBindings: UnitBindings,
210+ // NonUpperCaseGlobals: NonUpperCaseGlobals,
211+ // NonShorthandFieldPatterns: NonShorthandFieldPatterns,
212+ // UnusedAllocation: UnusedAllocation,
211213 // Depends on types used in type definitions
212- MissingCopyImplementations : MissingCopyImplementations ,
214+ // MissingCopyImplementations: MissingCopyImplementations,
213215 // Depends on referenced function signatures in expressions
214- PtrNullChecks : PtrNullChecks ,
215- MutableTransmutes : MutableTransmutes ,
216- TypeAliasBounds : TypeAliasBounds ,
217- TrivialConstraints : TrivialConstraints ,
218- TypeLimits : TypeLimits :: new( ) ,
219- NonSnakeCase : NonSnakeCase ,
220- InvalidNoMangleItems : InvalidNoMangleItems ,
216+ // PtrNullChecks: PtrNullChecks,
217+ // MutableTransmutes: MutableTransmutes,
218+ // TypeAliasBounds: TypeAliasBounds,
219+ // TrivialConstraints: TrivialConstraints,
220+ // TypeLimits: TypeLimits::new(),
221+ // NonSnakeCase: NonSnakeCase,
222+ // InvalidNoMangleItems: InvalidNoMangleItems,
221223 // Depends on effective visibilities
222- UnreachablePub : UnreachablePub ,
223- ExplicitOutlivesRequirements : ExplicitOutlivesRequirements ,
224- InvalidValue : InvalidValue ,
225- DerefNullPtr : DerefNullPtr ,
226- UnstableFeatures : UnstableFeatures ,
227- UngatedAsyncFnTrackCaller : UngatedAsyncFnTrackCaller ,
228- ShadowedIntoIter : ShadowedIntoIter ,
229- DropTraitConstraints : DropTraitConstraints ,
230- DanglingPointers : DanglingPointers ,
231- NonPanicFmt : NonPanicFmt ,
232- NoopMethodCall : NoopMethodCall ,
233- EnumIntrinsicsNonEnums : EnumIntrinsicsNonEnums ,
234- InvalidAtomicOrdering : InvalidAtomicOrdering ,
235- AsmLabels : AsmLabels ,
236- OpaqueHiddenInferredBound : OpaqueHiddenInferredBound ,
237- MultipleSupertraitUpcastable : MultipleSupertraitUpcastable ,
238- MapUnitFn : MapUnitFn ,
239- MissingDebugImplementations : MissingDebugImplementations ,
240- MissingDoc : MissingDoc ,
241- AsyncClosureUsage : AsyncClosureUsage ,
242- AsyncFnInTrait : AsyncFnInTrait ,
243- NonLocalDefinitions : NonLocalDefinitions :: default ( ) ,
244- ImplTraitOvercaptures : ImplTraitOvercaptures ,
245- IfLetRescope : IfLetRescope :: default ( ) ,
246- StaticMutRefs : StaticMutRefs ,
247- UnqualifiedLocalImports : UnqualifiedLocalImports ,
224+ // UnreachablePub: UnreachablePub,
225+ // ExplicitOutlivesRequirements: ExplicitOutlivesRequirements,
226+ // InvalidValue: InvalidValue,
227+ // DerefNullPtr: DerefNullPtr,
228+ // UnstableFeatures: UnstableFeatures,
229+ // UngatedAsyncFnTrackCaller: UngatedAsyncFnTrackCaller,
230+ // ShadowedIntoIter: ShadowedIntoIter,
231+ // DropTraitConstraints: DropTraitConstraints,
232+ // DanglingPointers: DanglingPointers,
233+ // NonPanicFmt: NonPanicFmt,
234+ // NoopMethodCall: NoopMethodCall,
235+ // EnumIntrinsicsNonEnums: EnumIntrinsicsNonEnums,
236+ // InvalidAtomicOrdering: InvalidAtomicOrdering,
237+ // AsmLabels: AsmLabels,
238+ // OpaqueHiddenInferredBound: OpaqueHiddenInferredBound,
239+ // MultipleSupertraitUpcastable: MultipleSupertraitUpcastable,
240+ // MapUnitFn: MapUnitFn,
241+ // MissingDebugImplementations: MissingDebugImplementations,
242+ // MissingDoc: MissingDoc,
243+ // AsyncClosureUsage: AsyncClosureUsage,
244+ // AsyncFnInTrait: AsyncFnInTrait,
245+ // NonLocalDefinitions: NonLocalDefinitions::default(),
246+ // ImplTraitOvercaptures: ImplTraitOvercaptures,
247+ // IfLetRescope: IfLetRescope::default(),
248+ // StaticMutRefs: StaticMutRefs,
249+ // UnqualifiedLocalImports: UnqualifiedLocalImports,
248250 ]
249251 ]
250252) ;
0 commit comments