about summary refs log tree commit diff
path: root/compiler/rustc_passes
AgeCommit message (Expand)AuthorLines
2024-09-18Rollup merge of #129422 - compiler-errors:repr-rust, r=fmeaseJubilee-0/+9
2024-09-18Rollup merge of #130457 - nnethercote:cleanup-codegen-traits, r=bjorn3Matthias Krüger-3/+1
2024-09-17Use associative type defaults in `{Layout,FnAbi}OfHelpers`.Nicholas Nethercote-3/+1
2024-09-16layout computation: eagerly error for unexpected unsized fieldsLukas Markeffsky-1/+1
2024-09-13Remove `sess` from `CheckLoopVisitor`.Nicholas Nethercote-17/+11
2024-09-13Remove unnecessary lifetime from `CheckLoopVisitor`.Nicholas Nethercote-6/+6
2024-09-13Remove unnecessary lifetime from `FeaturePreviouslyDeclared`.Nicholas Nethercote-2/+2
2024-09-12Rollup merge of #130235 - compiler-errors:nested-if, r=michaelwoeristerStuart Cook-30/+22
2024-09-11Rollup merge of #130114 - eduardosm:needless-returns, r=compiler-errorsJubilee-5/+2
2024-09-11Also fix if in elseMichael Goulet-20/+14
2024-09-11Simplify some nested if statementsMichael Goulet-10/+8
2024-09-10disallow `naked_asm!` outside of `#[naked]` functionsFolkert de Vries-11/+47
2024-09-09Remove needless returns detected by clippy in the compilerEduardo Sánchez Muñoz-5/+2
2024-09-05Rollup merge of #128919 - Nadrieril:lint-query-leaks, r=cjgillotMatthias Krüger-32/+8
2024-09-03Add an internal lint that warns when accessing untracked dataNadrieril-32/+8
2024-09-03Rollup merge of #128701 - veera-sivarajan:fix-128604, r=estebankMatthias Krüger-14/+26
2024-09-02Rollup merge of #129877 - Sajjon:sajjon_fix_typos_batch_2, r=fee1-deadMatthias Krüger-2/+2
2024-09-02chore: Fix typos in 'compiler' (batch 2)Alexander Cyon-2/+2
2024-09-01Revert "Auto merge of #127537 - veluca93:struct_tf, r=BoxyUwU"Jakub Beránek-41/+5
2024-08-31don't take reachability into account when warning about missing-const-stabilityRalf Jung-2/+1
2024-08-29Add `warn(unreachable_pub)` to `rustc_passes`.Nicholas Nethercote-192/+197
2024-08-28Auto merge of #127537 - veluca93:struct_tf, r=BoxyUwUbors-5/+41
2024-08-28Rollup merge of #129421 - jdonszelmann:naked-repr-align-functions, r=workingj...Matthias Krüger-0/+1
2024-08-28Implement RFC 3525.Luca Versari-5/+41
2024-08-27add repr to the allowlist for naked functions, and test that it worksjdonszelmann-0/+1
2024-08-26Rollup merge of #129544 - mu001999-contrib:dead-code/clean, r=compiler-errorsMatthias Krüger-11/+0
2024-08-26Rollup merge of #129525 - notriddle:notriddle/fake-variadic-tuple-array, r=Gu...Matthias Krüger-0/+10
2024-08-25Removes dead code from the compilermu001999-11/+0
2024-08-24rustdoc: clean up tuple <-> primitive conversion docsMichael Howell-0/+10
2024-08-24New `#[rustc_pub_transparent]` attributePavel Grigorenko-0/+26
2024-08-22Gate repr(Rust) correctly on non-ADT itemsMichael Goulet-0/+9
2024-08-21Use bool in favor of Option<()> for diagnosticsMichael Goulet-5/+4
2024-08-18Fix wording of misapplied `must_not_suspend` errorGoldstein-3/+3
2024-08-18Check that `#[may_dangle]` is properly appliedGoldstein-1/+32
2024-08-18Rollup merge of #129203 - compiler-errors:extern_crate_data, r=jieyouxu许杰友 Jieyou Xu (Joe)-2/+2
2024-08-17Use cnum for extern crate dataMichael Goulet-2/+2
2024-08-17Rollup merge of #128989 - s7tya:check-linkage-attribute-pos, r=petrochenkovMatthias Krüger-1/+27
2024-08-17Emit an error for invalid use of the linkage attributeShina-1/+27
2024-08-14Auto merge of #128812 - nnethercote:shrink-TyKind-FnPtr, r=compiler-errorsbors-6/+11
2024-08-12Rollup merge of #128886 - GrigorenkoPV:untranslatable-diagnostic, r=nnethercoteGuillaume Gomez-5/+8
2024-08-11Rollup merge of #128762 - fmease:use-more-slice-pats, r=compiler-errorsMatthias Krüger-5/+3
2024-08-10rustc_passes: make some messages in check_attr translatablePavel Grigorenko-4/+8
2024-08-10rustc_passes: remove a redundant `#[allow(rustc::untranslatable_diagnostic)]`Pavel Grigorenko-1/+0
2024-08-09Shrink `TyKind::FnPtr`.Nicholas Nethercote-6/+11
2024-08-07Rollup merge of #128552 - s7tya:check-no-sanitize-attribute-pos, r=BoxyUwUTrevor Gross-1/+6
2024-08-07Use more slice patterns inside the compilerLeón Orell Valerian Liehr-5/+3
2024-08-06Don't Suggest Labeling `const` and `unsafe` BlocksVeera-14/+26
2024-08-06check_attr: treat cfg_attr like cfg许杰友 Jieyou Xu (Joe)-0/+1
2024-08-05Emit an error for invalid use of the `#[no_sanitize]` attributeShina-1/+6
2024-08-04check_attr: cover multi-segment attributes on specific check arms许杰友 Jieyou Xu (Joe)-71/+73