about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/def_collector.rs
AgeCommit message (Expand)AuthorLines
2025-08-14Pass the target type down to `parse_attribute_list`Jonathan Brouwer-0/+2
2025-08-12Switch to a bitflags `MacroKinds` to support macros with more than one kindJosh Triplett-2/+2
2025-07-15Fix ice for feature-gated cfg attributes applied to the crateJonathan Brouwer-2/+2
2025-07-15Allow `Early` stage to emit errorsJonathan Brouwer-0/+1
2025-07-09MacroData in ResolverArenas + split macro_map into extern_macro_map and local...LorrensP-2158466-1/+1
2025-06-25Don't give APITs names with macro expansion placeholder fragments in itMichael Goulet-9/+9
2025-06-20remove equivalent new method on contextJana Dönszelmann-2/+2
2025-06-12introduce new lint infraJana Dönszelmann-1/+7
2025-06-06deduplicate more `walk_*` methods in AST visitDeadbeef-3/+6
2025-05-28Reorder `ast::ItemKind::{Struct,Enum,Union}` fields.Nicholas Nethercote-2/+2
2025-04-01Address review comments.Nicholas Nethercote-1/+4
2025-04-01Move `ast::Item::ident` into `ast::ItemKind`.Nicholas Nethercote-15/+18
2025-03-26Don't deaggregate InvocationParent just to reaggregate it againOli Scherer-24/+15
2025-03-25Allow defining opaques in statics and constsMichael Goulet-1/+7
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