about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/lints.rs
AgeCommit message (Expand)AuthorLines
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-5/+3
2024-12-17Rollup merge of #134202 - nnethercote:rm-existing_doc_keyword, r=GuillaumeGomezJacob Pratt-7/+0
2024-12-17Remove `rustc::existing_doc_keyword` lint.Nicholas Nethercote-7/+0
2024-12-15Fix trimmed_def_paths ICE in the function ptr comparison lintUrgau-18/+36
2024-12-15Improve check-cfg Cargo macro diagnostic with crate nameUrgau-2/+1
2024-12-14Rollup merge of #133221 - Urgau:check-cfg-macro-diag, r=jieyouxuMatthias Krüger-4/+40
2024-12-09Revert #131669 due to ICEs许杰友 Jieyou Xu (Joe)-36/+9
2024-12-06lint: revamp ImproperCTypes diagnostic architecture for nested notes and help...niacdoial-9/+36
2024-12-05Rollup merge of #118833 - Urgau:lint_function_pointer_comparisons, r=cjgillotLeón Orell Valerian Liehr-0/+36
2024-12-03Rollup merge of #133545 - clubby789:symbol-intern-lit, r=jieyouxuMatthias Krüger-0/+5
2024-12-02Add warn-by-default lint against unpredictable fn pointer comparisonsUrgau-0/+36
2024-11-28Implement lint against `Symbol::intern` on a string literalclubby789-0/+5
2024-11-28Rollup merge of #133487 - pitaj:reserve-guarded-strings, r=fee1-deadGuillaume Gomez-0/+7
2024-11-25fix confusing diagnostic for reserved `##`Peter Jaszkowiak-0/+7
2024-11-25Refactor `where` predicates, and reserve for attributes supportFrank King-1/+1
2024-11-19Add external macro specific diagnostic to check-cfgUrgau-4/+40
2024-11-04Prefer `pub(super)` in `unreachable_pub` lint suggestionUrgau-1/+2
2024-10-31Improve the missing_abi lint.Mara Bos-3/+1
2024-10-28New lint: `dangling_pointers_from_temporaries`Pavel Grigorenko-7/+10
2024-10-11Remove deprecation note in the `non_local_definitions` warningUrgau-3/+0
2024-10-08Reserve guarded string literals (RFC 3593)Peter Jaszkowiak-0/+7
2024-10-06Auto merge of #129670 - est31:cfg_attr_crate_type_name_error, r=Urgaubors-8/+0
2024-10-05Make deprecated_cfg_attr_crate_type_name a hard errorest31-8/+0
2024-10-04Auto merge of #130157 - eduardosm:stabilize-const_float_classify, r=RalfJungbors-1/+1
2024-09-25Revert "Avoid invalid NaN lint machine-applicable suggestion in const context"Eduardo Sánchez Muñoz-1/+1
2024-09-24Auto merge of #127117 - Urgau:non_local_def-syntactic, r=BoxyUwUbors-37/+1
2024-09-23add unqualified_local_imports lintRalf Jung-0/+4
2024-09-23Remove with/without trait and bounds considerationUrgau-8/+1
2024-09-23Point to every relevant types in the main diagUrgau-8/+0
2024-09-23Rework `non_local_definitions` lint to only be a syntactic heuristicUrgau-21/+0
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-3/+3
2024-09-20Auto merge of #124895 - obeis:static-mut-hidden-ref, r=compiler-errorsbors-0/+32
2024-09-18Improve handling of raw-idents in check-cfgUrgau-1/+2
2024-09-13Disallow hidden references to mutable staticObei Sideg-0/+32
2024-09-13Remove unnecessary lifetime from `BuiltinTypeAliasBounds`.Nicholas Nethercote-3/+3
2024-09-07Rollup merge of #126452 - compiler-errors:raw-lifetimes, r=spastorinoMatthias Krüger-1/+11
2024-09-06Lint against keyword lifetimes in keyword_identsMichael Goulet-1/+2
2024-09-06Add initial support for raw lifetimesMichael Goulet-0/+9
2024-09-06Hack around a conflict with `clippy::needless_lifetimes`Pavel Grigorenko-0/+7
2024-09-06elided_named_lifetimes: manually implement `LintDiagnostic`Pavel Grigorenko-6/+41
2024-09-06elided_named_lifetimes: add suggestionsPavel Grigorenko-1/+1
2024-09-03Add an internal lint that warns when accessing untracked dataNadrieril-0/+7
2024-09-01Deny imports of rustc_type_ir::inherent outside of type ir + new trait solverMichael Goulet-0/+5
2024-08-31Implement `elided_named_lifetimes` lintPavel Grigorenko-0/+10
2024-08-27Add `warn(unreachable_pub)` to `rustc_lint`.Nicholas Nethercote-247/+247
2024-08-21Use bool in favor of Option<()> for diagnosticsMichael Goulet-4/+4
2024-08-07Disallow setting built-in cfgs via set the command-lineUrgau-0/+10
2024-07-30rustc_lint: make `let-underscore-lock` translatablePavel Grigorenko-0/+2
2024-07-29Reformat `use` declarations.Nicholas Nethercote-18/+17
2024-07-26Rollup merge of #126575 - fmease:update-lint-type_alias_bounds, r=compiler-er...Trevor Gross-74/+67