about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
AgeCommit message (Expand)AuthorLines
2024-12-17Rollup merge of #134368 - ehuss:edition-links, r=jieyouxuJacob Pratt-2/+3
2024-12-17Rollup merge of #134202 - nnethercote:rm-existing_doc_keyword, r=GuillaumeGomezJacob Pratt-52/+2
2024-12-17Remove `rustc::existing_doc_keyword` lint.Nicholas Nethercote-52/+2
2024-12-16update uses of extract_if in the compilerThe 8472-2/+2
2024-12-16rename rustc_attr to rustc_attr_parsing and create rustc_attr_data_structuresJonathan Dönszelmann-2/+2
2024-12-16split attributesJonathan Dönszelmann-6/+5
2024-12-16Rollup merge of #134369 - antonok-edm:refering-referring, r=jieyouxuMatthias Krüger-1/+1
2024-12-16Rollup merge of #134357 - Urgau:fn-ptr-134345, r=compiler-errorsMatthias Krüger-34/+59
2024-12-15Use links to edition guide for edition migrationsEric Huss-2/+3
2024-12-15spell "referring" correctlyAnton Lazarev-1/+1
2024-12-15Fix trimmed_def_paths ICE in the function ptr comparison lintUrgau-34/+59
2024-12-15Auto merge of #131808 - jdonszelmann:hir-attributes, r=oli-obk,petrochenkovbors-42/+48
2024-12-15Add hir::AttributeJonathan Dönszelmann-42/+48
2024-12-15Improve check-cfg Cargo macro diagnostic with crate nameUrgau-10/+15
2024-12-15Cleanup lifetimes around `EarlyContextAndPass` and `EarlyCheckNode`Urgau-58/+44
2024-12-15Simplify `opt_span_lint` call in early diagnosticUrgau-36/+4
2024-12-15Access `TyCtxt` from early diagnostic decorationUrgau-49/+60
2024-12-14Rollup merge of #133221 - Urgau:check-cfg-macro-diag, r=jieyouxuMatthias Krüger-14/+98
2024-12-13Rollup merge of #134140 - compiler-errors:unsafe-binders-ast, r=oli-obkMatthias Krüger-0/+3
2024-12-13Rollup merge of #133937 - estebank:silence-resolve-errors-from-mod-with-parse...Matthias Krüger-1/+1
2024-12-13Stabilize async closuresMichael Goulet-4/+0
2024-12-12Add unwrap_unsafe_binder and wrap_unsafe_binder macro operatorsMichael Goulet-0/+3
2024-12-12Rollup merge of #134173 - onur-ozkan:allow-symbol-intern-string-literal, r=ji...Matthias Krüger-0/+2
2024-12-11allow `symbol_intern_string_literal` lint in test modulesonur-ozkan-0/+2
2024-12-10Keep track of parse errors in `mod`s and don't emit resolve errors for paths ...Esteban Küber-1/+1
2024-12-10Rollup merge of #134008 - jswrenn:unsafe-fields-copy, r=compiler-errorsLeón Orell Valerian Liehr-0/+1
2024-12-09Revert #131669 due to ICEs许杰友 Jieyou Xu (Joe)-352/+65
2024-12-08Rollup merge of #133424 - Nadrieril:guard-patterns-parsing, r=fee1-deadMatthias Krüger-1/+1
2024-12-08Rollup merge of #133992 - compiler-errors:walk-fully, r=jieyouxuMatthias Krüger-0/+3
2024-12-07Make `Copy` unsafe to implement for ADTs with `unsafe` fieldsJack Wrenn-0/+1
2024-12-07Actually walk into lifetimes and attrs in EarlyContextAndPassMichael Goulet-0/+3
2024-12-06compiler: Tighten up ImproperCTypesLayer recursionJubilee Young-21/+12
2024-12-06lint ImproperCTypes: message tweaks and refactoring from code reviewniacdoial-24/+27
2024-12-06lint ImproperCTypes: confirm that Box<FfiSafeType> and Option<Box<FfiSafeType...niacdoial-1/+1
2024-12-06lint: polish code from the last few commitsniacdoial-25/+60
2024-12-06lint: fix ImproperCTypes edge case for unsized structs due to foreign typesniacdoial-2/+65
2024-12-06lint: rework some ImproperCTypes messages (especially around indirections to ...niacdoial-21/+115
2024-12-06lint: revamp ImproperCTypes diagnostic architecture for nested notes and help...niacdoial-45/+146
2024-12-05Update compiler/rustc_lint/src/lints.rsAnthony Eid-2/+3
2024-12-05Start work on dangling pointers lintAnthony Eid-0/+1
2024-12-05Rollup merge of #118833 - Urgau:lint_function_pointer_comparisons, r=cjgillotLeón Orell Valerian Liehr-4/+170
2024-12-03Rollup merge of #133753 - dingxiangfei2009:reduce-false-positive-if-let-resco...Matthias Krüger-2/+5
2024-12-03Rollup merge of #133545 - clubby789:symbol-intern-lit, r=jieyouxuMatthias Krüger-3/+41
2024-12-02Add warn-by-default lint against unpredictable fn pointer comparisonsUrgau-4/+170
2024-12-02remove `Ty::is_copy_modulo_regions`lcnr-2/+6
2024-12-02remove outdated commentlcnr-11/+4
2024-12-02reduce false positives on some common cases from if-let-rescopeDing Xiang Fei-2/+5
2024-11-28Replace `Symbol::intern` calls with preinterned symbolsclubby789-1/+1
2024-11-28Implement lint against `Symbol::intern` on a string literalclubby789-2/+40
2024-11-28Rollup merge of #133487 - pitaj:reserve-guarded-strings, r=fee1-deadGuillaume Gomez-2/+13