about summary refs log tree commit diff
path: root/compiler/rustc_ast_passes
AgeCommit message (Expand)AuthorLines
2024-07-03Rollup merge of #127092 - compiler-errors:rtn-dots-redux, r=estebankMatthias Krüger-24/+7
2024-06-29Rollup merge of #127106 - spastorino:improve-unsafe-extern-blocks-diagnostics...Matthias Krüger-9/+22
2024-06-29Avoid suggesting to add unsafe when the extern block is already unsafeSantiago Pastorino-8/+13
2024-06-28Add feature diagnostic for unsafe_extern_blocksSantiago Pastorino-1/+9
2024-06-28Rollup merge of #124091 - jieyouxu:ast-validation-top-level-docs, r=wesleywiserMatthias Krüger-7/+17
2024-06-28Change RTN to use .. againMichael Goulet-24/+7
2024-06-26Rollup merge of #126973 - chenyukang:yukang-fix-126756-unsafe-suggestion-erro...Matthias Krüger-2/+2
2024-06-26Fix bad replacement for unsafe extern block suggestionyukang-2/+2
2024-06-23Add hard error and migration lint for unsafe attrscarbotaniuman-1/+1
2024-06-22compiler: Mention C-unwind in C-variadic errorJubilee Young-1/+1
2024-06-22Allow "C-unwind" fn to have C variadicsJubilee Young-0/+1
2024-06-21Do not allow safe usafe on static and fn itemsSantiago Pastorino-16/+58
2024-06-21Rollup merge of #126767 - compiler-errors:static-foreign-item, r=spastorinoMatthias Krüger-1/+1
2024-06-20StaticForeignItem and StaticItem are the sameMichael Goulet-1/+1
2024-06-20Properly gate `safe` keyword in pre-expansionMichael Goulet-0/+4
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-8/+6
2024-06-17Detect duplicatesMichael Goulet-4/+32
2024-06-17Add tests for illegal use bound syntaxMichael Goulet-2/+2
2024-06-17Rework precise capturing syntaxMichael Goulet-82/+108
2024-06-12Use `tidy` to sort crate attributes for all compiler crates.Nicholas Nethercote-1/+3
2024-06-06Parse unsafe attributescarbotaniuman-0/+1
2024-06-05Make MISSING_UNSAFE_ON_EXTERN lint emit future compat info with suggestion to...Santiago Pastorino-6/+22
2024-06-05Add unsafe_extern_blocks feature flagSantiago Pastorino-17/+19
2024-06-04Fail when using safe/unsafe items inside unadorned extern blocksSantiago Pastorino-19/+59
2024-06-04Handle safety keyword for extern block inner itemsSantiago Pastorino-1/+1
2024-06-04Allow using unsafe on functions inside extern blocksSantiago Pastorino-5/+1
2024-06-04Make extern blocks without unsafe warn in edition 2024Santiago Pastorino-2/+13
2024-06-04Allow unsafe extern on all editionsSantiago Pastorino-4/+1
2024-05-31Rollup merge of #125635 - fmease:mv-type-binding-assoc-item-constraint, r=com...Matthias Krüger-25/+27
2024-05-30Rename HIR `TypeBinding` to `AssocItemConstraint` and related cleanupLeón Orell Valerian Liehr-25/+27
2024-05-26Rollup merge of #124048 - veera-sivarajan:bugfix-123773-c23-variadics, r=comp...Jubilee-17/+5
2024-05-21Rename buffer_lint_with_diagnostic to buffer_lintXiretza-3/+3
2024-05-21Make early lints translatableXiretza-1/+1
2024-05-21Generate lint diagnostic message from BuiltinLintDiagXiretza-15/+7
2024-05-20Rollup merge of #125314 - jdonszelmann:global-registration-feature-gate, r=pn...Matthias Krüger-0/+1
2024-05-17Rename Unsafe to SafetySantiago Pastorino-13/+13
2024-05-14create a feature gatejdonszelmann-0/+1
2024-05-02Stabilize exclusive_rangeRoss Smyth-14/+1
2024-04-30Replace item names containing an error code with something more meaningfulLeón Orell Valerian Liehr-6/+5
2024-04-29Add StaticForeignItem and use it on ForeignItemKindSantiago Pastorino-2/+2
2024-04-25ast: Generalize item kind visitingVadim Petrochenkov-3/+3
2024-04-24Stabilise `inline_const`Gary Guo-1/+0
2024-04-21Pass translation closure to add_to_diag_with() as referenceXiretza-2/+2
2024-04-17ast_passes/validation: update attribute macro example许杰友 Jieyou Xu (Joe)-2/+9
2024-04-17ast_passes/validation: update module docs许杰友 Jieyou Xu (Joe)-7/+10
2024-04-17Rename `BindingAnnotation` to `BindingMode`Jules Bertholet-2/+2
2024-04-16Support C23's Variadics Without a Named ParameterVeera-17/+5
2024-04-15Parsing , pre-lowering support for precise capturesMichael Goulet-1/+2
2024-04-12Rollup merge of #123841 - Kohei316:remove_qualifier_sugg, r=wesleywiserMatthias Krüger-1/+12
2024-04-12Improve diagnostic by suggesting to remove visibility qualifiermorine0122-1/+12