about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
AgeCommit message (Expand)AuthorLines
2024-05-10Use fewer origins when creating type variables.Nicholas Nethercote-2/+1
2024-05-08Rollup merge of #124869 - compiler-errors:keyword, r=NilstriebMatthias Krüger-1/+10
2024-05-08Rollup merge of #123344 - pietroalbini:pa-unused-imports, r=NilstriebMatthias Krüger-2/+2
2024-05-08Rollup merge of #124761 - Urgau:ref-casting_bigger_slice_index, r=jieyouxuMatthias Krüger-0/+7
2024-05-07Make sure we don't deny macro vars w keyword namesMichael Goulet-1/+10
2024-05-06Auto merge of #124747 - MasterAwesome:master, r=davidtwcobors-13/+56
2024-05-05Fix insufficient logic when searching for the underlying allocationUrgau-0/+7
2024-05-04Update Cargo diagnostics in check-cfgUrgau-4/+4
2024-05-04Auto merge of #124401 - oli-obk:some_hir_cleanups, r=cjgillotbors-3/+6
2024-05-02Rollup merge of #124624 - WaffleLapkin:old_unit, r=fmeaseMatthias Krüger-3/+2
2024-05-02Inline & delete `Ty::new_unit`, since it's just a field accessWaffle Lapkin-3/+2
2024-05-02Rollup merge of #124568 - Urgau:non-local-defs-doctest, r=michaelwoerister,Gu...Guillaume Gomez-4/+17
2024-05-01Adjust `#[macro_export]`/doctest help suggestion for non_local_defs lintUrgau-4/+17
2024-05-01Auto merge of #124539 - Urgau:non-local-defs_modulo_modules, r=lcnrbors-5/+11
2024-04-30Rollup merge of #124511 - nnethercote:rm-extern-crates, r=fee1-deadMatthias Krüger-4/+34
2024-04-29Consider inner modules to be local in the `non_local_definitions` lintUrgau-5/+11
2024-04-29Rollup merge of #124522 - blyxyas:refactor-is-loaded, r=jieyouxu许杰友 Jieyou Xu (Joe)-8/+10
2024-04-29[Refactor] Rename Lint and LintGroup\'s is_loaded to is_externally_loadedblyxyas-8/+10
2024-04-29Remove `extern crate rustc_middle` from numerous crates.Nicholas Nethercote-2/+7
2024-04-29Remove `extern crate rustc_session` from `rustc_lint`.Nicholas Nethercote-2/+27
2024-04-28Fix #124478 - offset_of! returns a temporaryGeorge Bateman-0/+1
2024-04-26Move `ConstArg::span` to `AnonConst::span`Oli Scherer-3/+6
2024-04-25ast: Generalize item kind visitingVadim Petrochenkov-1/+1
2024-04-23Put the RFC behind a feature gate `result_ffi_guarantees`Arvind Mukund-0/+4
2024-04-23Remove comment out of RFC's scopeArvind Mukund-1/+0
2024-04-23Reword `is_niche_optimization_candidate` docArvind Mukund-1/+1
2024-04-23Disallow single-variant enumsArvind Mukund-4/+6
2024-04-23Don't lint niche optimized variants in enumsArvind Mukund-20/+13
2024-04-23We don't need to check for non-exhaustive fieldsArvind Mukund-2/+1
2024-04-23Support Result<T, E> across FFI when niche optimization can be usedArvind Mukund-1/+47
2024-04-23Rollup merge of #124218 - Xiretza:subsubdiagnostics, r=davidtwcoLeón Orell Valerian Liehr-18/+20
2024-04-23Rollup merge of #123050 - RalfJung:panic_str, r=m-ou-seMatthias Krüger-1/+1
2024-04-23Auto merge of #124277 - matthiaskrgr:rollup-zdb93i4, r=matthiaskrgrbors-31/+75
2024-04-23Rollup merge of #123680 - compiler-errors:gen-kw, r=NadrierilMatthias Krüger-31/+75
2024-04-23Auto merge of #123992 - compiler-errors:no-has-typeck-results, r=jackh726bors-1/+1
2024-04-22Stabilize generic `NonZero`.Markus Reiter-1/+0
2024-04-22Deny gen keyword in edition_2024_compat lintsMichael Goulet-31/+75
2024-04-21Auto merge of #123594 - Urgau:fix-non_local_def-lint-overflow, r=lcnrbors-1/+13
2024-04-21Move "elided lifetime in path" to subdiagnostic structXiretza-8/+10
2024-04-21Pass translation closure to add_to_diag_with() as referenceXiretza-10/+10
2024-04-17has_typeck_results doesnt need to be a queryMichael Goulet-1/+1
2024-04-17Rename `BindingAnnotation` to `BindingMode`Jules Bertholet-2/+2
2024-04-17Rollup merge of #122813 - nnethercote:nicer-quals, r=compiler-errorsMatthias Krüger-4/+5
2024-04-16Rollup merge of #123501 - Urgau:stabilize-check-cfg, r=petrochenkovMatthias Krüger-2/+2
2024-04-16Auto merge of #123468 - compiler-errors:precise-capturing, r=oli-obkbors-1/+1
2024-04-16Avoid lots of `hir::HirId{,Map,Set}` qualifiers.Nicholas Nethercote-4/+5
2024-04-15nitsMichael Goulet-8/+4
2024-04-15Parsing , pre-lowering support for precise capturesMichael Goulet-1/+1
2024-04-15Move --check-cfg documentation to stable booksUrgau-2/+2
2024-04-14store the span of the nested part of the use tree in the astPietro Albini-2/+2