about summary refs log tree commit diff
path: root/compiler/rustc_ast_passes/src
AgeCommit message (Expand)AuthorLines
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-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/+52
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-2/+27
2024-06-17Add tests for illegal use bound syntaxMichael Goulet-1/+1
2024-06-17Rework precise capturing syntaxMichael Goulet-82/+106
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/+20
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/+56
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-14/+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-10/+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-14/+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/+11
2024-04-12Improve diagnostic by suggesting to remove visibility qualifiermorine0122-1/+11
2024-04-09Add a helper for extending a span to include any trailing whitespaceMichael Goulet-1/+1
2024-04-08Add pattern types to parserOli Scherer-0/+3
2024-04-04Rollup merge of #123397 - krtab:foreign_fn_qualif_diag, r=petrochenkovMatthias Krüger-7/+25
2024-04-04Fix diagnostic for qualifier in extern blockArthur Carcano-7/+25
2024-03-29Rollup merge of #123188 - klensy:clippy-me2, r=NilstriebMatthias Krüger-1/+1
2024-03-28compiler: fix few needless_pass_by_ref_mut clippy lintsklensy-1/+1
2024-03-27Feature gateJules Bertholet-0/+1