about summary refs log tree commit diff
path: root/compiler/rustc_expand/src/module.rs
AgeCommit message (Expand)AuthorLines
2025-09-09Strip frontmatter in fewer placesLeón Orell Valerian Liehr-2/+7
2025-08-22Move validate_attr to `rustc_attr_parsing`Jonathan Brouwer-1/+2
2025-08-19Prevent impossible combinations in `ast::ModKind`.Nicholas Nethercote-1/+1
2025-08-09remove `P`Deadbeef-2/+1
2025-02-15Reject macro calls inside of `#![crate_name]`León Orell Valerian Liehr-6/+6
2024-12-19Speed up `Parser::expected_token_types`.Nicholas Nethercote-3/+3
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-12-10Keep track of parse errors in `mod`s and don't emit resolve errors for paths ...Esteban Küber-3/+7
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-3/+3
2024-09-11rustc_expand: remember module #[path]s during expansiondianne-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-8/+9
2024-06-05Make top-level `rustc_parse` functions fallible.Nicholas Nethercote-2/+3
2024-03-15Use `do yeet ()` and `do yeet _` instead of `None?` and `Err(_)?` in compilerMaybe Waffle-1/+1
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-10/+6
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-2/+2
2024-01-08Make `DiagnosticBuilder::emit` consuming.Nicholas Nethercote-1/+1
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-4/+4
2023-12-23Give `DiagnosticBuilder` a default type.Nicholas Nethercote-1/+1
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-2/+2
2023-10-13Format all the let chains in compilerMichael Goulet-1/+3
2023-02-21Use `ThinVec` in a few more AST types.Nicholas Nethercote-2/+2
2022-12-10Migrate parts of `rustc_expand` to session diagnosticsnils-46/+34
2022-08-22Use `AttrVec` in more places.Nicholas Nethercote-4/+4
2022-07-17avoid some `Symbol` to `String` conversionsTakayuki Maeda-3/+2
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-3/+3
2022-03-03Associate multiple with a crate too.Felix S. Klock II-3/+3
2022-03-03refactor: prepare to associate multiple spans with a module.Felix S. Klock II-2/+2
2022-03-02rename ErrorReported -> ErrorGuaranteedmark-3/+3
2022-02-23rustc_errors: let `DiagnosticBuilder::emit` return a "guarantee of emission".Eduard-Mihai Burtescu-3/+3
2022-02-19Adopt let else in more placesest31-17/+14
2021-12-15Remove unnecessary sigils around `Ident::as_str()` calls.Nicholas Nethercote-2/+2
2021-12-15Remove `SymbolStr`.Nicholas Nethercote-4/+6
2021-09-25Check for macros in built-in attributes that don't support them.Eric Huss-1/+20
2021-08-25Use if-let guards in the codebaseLéo Lanteri Thauvin-6/+5
2021-05-06E0583: Include secondary path in error messageDeadbeef-4/+5
2021-05-03use full path for E0761hi-rustin-7/+5
2021-05-03use double quotes for E0761hi-rustin-1/+1
2021-03-14expand: Resolve and expand inner attributes on out-of-line modulesVadim Petrochenkov-19/+39
2021-03-05expand: Introduce enum for module loading errors and make module loading spec...Vadim Petrochenkov-87/+85
2021-03-05expand: Share some code between inline and out-of-line module treatmentVadim Petrochenkov-18/+18
2021-03-05expand: Some more consistent naming in module loadingVadim Petrochenkov-43/+43
2021-03-05expand: Less path cloning during module loadingVadim Petrochenkov-23/+29
2021-03-05expand: Determine module directory path directly instead of relying on spanVadim Petrochenkov-8/+3
2021-03-05expand: Move module file path stack from global session to expansion dataVadim Petrochenkov-13/+9
2021-03-05expand: Remove obsolete `DirectoryOwnership::UnownedViaMod`Vadim Petrochenkov-52/+9
2021-02-18ast: Keep expansion status for out-of-line module itemsVadim Petrochenkov-13/+10
2021-02-18ast: Stop using `Mod` in `Crate`Vadim Petrochenkov-3/+2
2020-09-10Syntactically permit unsafety on modsDavid Tolnay-4/+8
2020-09-04rustc_expand: remove pub visibility for rustfmtCaleb Cartwright-2/+1
2020-08-30mv compiler to compiler/mark-0/+312