about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src
AgeCommit message (Expand)AuthorLines
2024-08-28fmt-debug optionKornel-0/+13
2024-08-29derive(SmartPointer): assume pointee from the single generic and better error...Ding Xiang Fei-28/+47
2024-08-27Rollup merge of #126013 - nnethercote:unreachable_pub, r=UrgauMatthias Krüger-50/+51
2024-08-17Auto merge of #128771 - carbotaniuman:stabilize_unsafe_attr, r=nnethercotebors-3/+0
2024-08-16Add `warn(unreachable_pub)` to `rustc_builtin_macros`.Nicholas Nethercote-50/+51
2024-08-14Use `impl PartialEq<TokenKind> for Token` more.Nicholas Nethercote-2/+2
2024-08-11Rollup merge of #128762 - fmease:use-more-slice-pats, r=compiler-errorsMatthias Krüger-12/+11
2024-08-07Make `Span` optional in `BufferedEarlyLint`Urgau-1/+1
2024-08-07Use more slice patterns inside the compilerLeón Orell Valerian Liehr-12/+11
2024-08-07Stabilize `unsafe_attributes`carbotaniuman-3/+0
2024-08-05Rollup merge of #127907 - RalfJung:byte_slice_in_packed_struct_with_derive, r...Matthias Krüger-48/+6
2024-08-04Rollup merge of #128305 - folkertdev:asm-parser-unsupported-operand, r=AmanieuMatthias Krüger-8/+40
2024-08-03Rollup merge of #128557 - nyurik:dup-init, r=compiler-errorsMatthias Krüger-1/+1
2024-08-03Rollup merge of #128483 - nnethercote:still-more-cfg-cleanups, r=petrochenkovMatthias Krüger-1/+1
2024-08-02chore: use shorthand initializerYuri Astrakhan-1/+1
2024-08-01Auto merge of #127543 - carbotaniuman:more_unsafe_attr_verification, r=esteba...bors-20/+9
2024-08-01Distinguish the two kinds of token range.Nicholas Nethercote-1/+1
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-20/+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/+40
2024-07-28Rollup merge of #127853 - folkertdev:naked-function-error-messages, r=bjorn3Matthias Krüger-0/+18
2024-07-27Rollup merge of #128207 - folkertdev:asm-parser-generalize, r=AmanieuTrevor Gross-22/+54
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/+50
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/+18
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