about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/def_collector.rs
AgeCommit message (Expand)AuthorLines
2025-03-07Pass `Option<Symbol>` to `def_path_data`/`create_def` methods.Nicholas Nethercote-31/+21
2025-03-03Rollup merge of #132388 - frank-king:feature/where-cfg, r=petrochenkovMatthias Krüger-0/+8
2025-03-01Implment `#[cfg]` and `#[cfg_attr]` in `where` clausesFrank King-0/+8
2025-02-26Handle asm const similar to inline constGary Guo-0/+39
2025-02-24lower attr spans and inline some functions to hopefully mitigate perf regress...Jana Dönszelmann-1/+6
2025-02-24Introduce new-style attribute parsers for several attributesJana Dönszelmann-1/+13
2025-02-08Rustfmtbjorn3-5/+8
2025-02-03Express contracts as part of function header and lower it to the contract lan...Celina G. Val-1/+4
2025-01-28Refactor FnKind variant to hold &FnCelina G. Val-3/+6
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-12-14Don't make a def id for impl_trait_in_bindingsMichael Goulet-0/+9
2024-11-28always create `DefId`s when lowering anon-constslcnr-132/+26
2024-11-20Use edition of `macro_rules` when compiling the macroEric Huss-1/+1
2024-11-05Check for both `StmtKind::MacCall` and `ExprKind::MacCall`Boxy-19/+10
2024-10-26expand: Stop using artificial `ast::Item` for macros loaded from metadataVadim Petrochenkov-2/+4
2024-10-01Remove anon struct and union typesMichael Goulet-18/+0
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-11/+8
2024-09-21Handle macro calls in anon const def creation take 2Boxy-18/+86
2024-09-13Auto merge of #129137 - camelid:lazy-def-macro-const, r=BoxyUwUbors-40/+80
2024-09-12Re-enable `ConstArgKind::Path` lowering by defaultNoah Lev-16/+14
2024-09-12Fix anon const def-creation when macros are involvedNoah Lev-34/+76
2024-09-12Introduce `'ra` lifetime name.Nicholas Nethercote-4/+4
2024-09-01Replace walk with visit so we dont skip outermost expr kind in def collectorMichael Goulet-1/+1
2024-08-31Create opaque definitions in resolver.Camille GILLOT-52/+64
2024-08-19Retroactively feature gate `ConstArgKind::Path`Boxy-7/+9
2024-07-29Reformat `use` declarations.Nicholas Nethercote-2/+4
2024-07-16Add `ConstArgKind::Path` and make `ConstArg` its own HIR nodeNoah Lev-2/+13
2024-07-06out_of_scope_macro_calls: Detect calls inside attributes more preciselyVadim Petrochenkov-6/+17
2024-06-27Tighten spans for async blocksMichael Goulet-1/+1
2024-06-21Rollup merge of #126767 - compiler-errors:static-foreign-item, r=spastorinoMatthias Krüger-6/+1
2024-06-20StaticForeignItem and StaticItem are the sameMichael Goulet-6/+1
2024-06-20collect attrs in const block exprbohan-0/+3
2024-06-14delegation: Implement glob delegationVadim Petrochenkov-4/+6
2024-06-07Revert "Create const block DefIds in typeck instead of ast lowering"Oli Scherer-0/+10
2024-06-04Add safe/unsafe to static inside extern blocksSantiago Pastorino-3/+15
2024-06-04Handle safety keyword for extern block inner itemsSantiago Pastorino-3/+6
2024-05-28Create const block DefIds in typeck instead of ast loweringOli Scherer-10/+0
2024-05-18Auto merge of #125105 - nnethercote:rustc_resolve-cleanups, r=estebankbors-0/+1
2024-05-15delegation: Implement list delegationVadim Petrochenkov-0/+2
2024-05-10Remove `#[macro_use] extern crate tracing` from `rustc_resolve`.Nicholas Nethercote-0/+1
2024-04-29Add StaticForeignItem and use it on ForeignItemKindSantiago Pastorino-1/+1
2024-04-27Rollup merge of #124382 - petrochenkov:itemvisit, r=lcnrMatthias Krüger-1/+1
2024-04-25ast: Generalize item kind visitingVadim Petrochenkov-1/+1
2024-04-24resolve: Remove two cases of misleading macro call visitingVadim Petrochenkov-7/+2
2024-03-12s/mt/mutability/Oli Scherer-2/+4
2024-03-12Add `nested` bool to `DefKind::Static`.Oli Scherer-2/+2
2024-03-12Change `DefKind::Static` to a struct variantOli Scherer-2/+2
2024-03-05Bubble up the TyCtxtFeedOli Scherer-8/+10
2024-02-18By tracking import use types to check whether it is scope uses or the other s...surechen-1/+1
2024-02-12Check representation of unnamed fieldsFrank King-13/+18