about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros
AgeCommit message (Expand)AuthorLines
2024-08-01reject pointee without ?SizedDing Xiang Fei-27/+23
2024-07-31Rollup merge of #127681 - dingxiangfei2009:smart-ptr-bounds, r=compiler-errorsMatthias Krüger-17/+227
2024-07-30Add toggle for `parse_meta_item` unsafe parsingcarbotaniuman-23/+3
2024-07-30Rollup merge of #128376 - compiler-errors:finish-ur-vegetables, r=jieyouxuMatthias Krüger-1/+1
2024-07-30derive(SmartPointer): rewrite bounds in where and generic boundsDing Xiang Fei-17/+227
2024-07-30Auto merge of #128083 - Mark-Simulacrum:bump-bootstrap, r=albertlarsan68bors-1/+0
2024-07-29Deny unsafe on more builtin attributescarbotaniuman-0/+6
2024-07-29Mark Parser::eat/check methods as must_useMichael Goulet-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-129/+161
2024-07-28step cfg(bootstrap)Mark Rousskov-1/+0
2024-07-28improve error message when global asm uses inline asm operandsFolkert-8/+43
2024-07-28Rollup merge of #127853 - folkertdev:naked-function-error-messages, r=bjorn3Matthias Krüger-0/+23
2024-07-27Rollup merge of #128207 - folkertdev:asm-parser-generalize, r=AmanieuTrevor Gross-22/+58
2024-07-27built-in derive: remove BYTE_SLICE_IN_PACKED_STRUCT_WITH_DERIVE hack and lintRalf Jung-48/+6
2024-07-27switch to an allowlist approachFolkert-1/+1
2024-07-26refactor the `if if`Folkert-3/+7
2024-07-25improve error message when `global_asm!` uses `asm!` optionsFolkert-22/+54
2024-07-24Use Cow<'static, str> for InlineAsmTemplatePiece::StringGnomedDev-3/+3
2024-07-22Avoid passing state that will not be visitedOli Scherer-6/+6
2024-07-22Always pass the visitor as the first argument to walk* functionsOli Scherer-16/+27
2024-07-22Sync `mut_visit` function names with immut `visit` ones (s/noop_visit/walk/)Oli Scherer-17/+17
2024-07-22Add `Ident` to `FnKind::Fn`, just like with the immutable visitorOli Scherer-1/+1
2024-07-22Pass id and span to `visit_fn`, just like for the immutable visitorOli Scherer-4/+4
2024-07-22Make function items in mut visitors all go through the same visit_fn function...Oli Scherer-5/+5
2024-07-22Merge impl and trait item mut visitor methods to mirror immut visitorOli Scherer-19/+16
2024-07-21Auto merge of #127722 - BoxyUwU:new_adt_const_params_limitations, r=compiler-...bors-1/+39
2024-07-19Use `ForceCollect` in `parse_attr_item`.Nicholas Nethercote-7/+9
2024-07-17Split part of `adt_const_params` into `unsized_const_params`Boxy-1/+39
2024-07-17add error message when `#[naked]` is used with `#[test]`Folkert-0/+23
2024-07-07Rollup merge of #127308 - nnethercote:Attribute-cleanups, r=petrochenkovMatthias Krüger-1/+1
2024-07-07Rename some attribute types for consistency.Nicholas Nethercote-1/+1
2024-07-05Use `ControlFlow` results for visitors that are only looking for a single valueOli Scherer-1/+1
2024-07-04Rollup merge of #127283 - dingxiangfei2009:check-repr-transparent, r=davidtwcoMatthias Krüger-3/+36
2024-07-04Rollup merge of #126405 - He1pa:translate_builtin_macro_diag, r=davidtwcoMatthias Krüger-23/+76
2024-07-04reject SmartPointer constructions not serving the purposeDing Xiang Fei-3/+36
2024-07-02Simplify `CfgEval`.Nicholas Nethercote-10/+8
2024-06-27Tighten spans for async blocksMichael Goulet-1/+1
2024-06-25`sudo CI=green` && Review changes <3xFrednet-1/+1
2024-06-25RFC 2383: Stabilize `lint_reasons` :tada:xFrednet-1/+1
2024-06-25Migrate some rustc_builtin_macros to SessionDiagnostiche1pa-23/+76
2024-06-24SmartPointer derive-macroXiangfei Ding-0/+142
2024-06-20Convert some module-level `//` and `///` comments to `//!`.Nicholas Nethercote-2/+3
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-6/+8
2024-06-18Prefer `dcx` methods over fields or fields' methodsOli Scherer-5/+5
2024-06-12Use `tidy` to sort crate attributes for all compiler crates.Nicholas Nethercote-2/+4
2024-06-06Handle safe casecarbotaniuman-0/+1
2024-06-06Fix formattingcarbotaniuman-1/+1
2024-06-06Fix buildcarbotaniuman-4/+4
2024-06-06Disallow unsafe in derivecarbotaniuman-1/+21
2024-06-06Parse unsafe attributescarbotaniuman-1/+3