about summary refs log tree commit diff
path: root/compiler/rustc_passes/src/entry.rs
AgeCommit message (Expand)AuthorLines
2025-03-28use `slice::contains` where applicableYotam Ofek-1/+1
2025-03-12Move methods from `Map` to `TyCtxt`, part 4.Nicholas Nethercote-3/+3
2025-02-24Change span field accesses to method callsJana Dönszelmann-1/+1
2025-02-17Move some `Map` methods onto `TyCtxt`.Nicholas Nethercote-1/+1
2025-01-21remove support for the #[start] attributeRalf Jung-23/+4
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-3/+3
2024-08-10rustc_passes: remove a redundant `#[allow(rustc::untranslatable_diagnostic)]`Pavel Grigorenko-1/+0
2024-07-29Reformat `use` declarations.Nicholas Nethercote-2/+2
2024-05-04Various improvements to entrypoint codeNilstrieb-19/+23
2024-05-02Change `SIGPIPE` ui from `#[unix_sigpipe = "..."]` to `-Zon-broken-pipe=...`Martin Nordholts-33/+10
2024-03-28Make local_crate_source_file return a RealFileNameUrgau-4/+9
2024-03-18Rollup merge of #122060 - clubby789:stabilize-imported-main, r=lcnrMatthias Krüger-11/+0
2024-03-14hir: Remove `opt_local_def_id_to_hir_id` and `opt_hir_node_by_def_id`Vadim Petrochenkov-1/+1
2024-03-10diagnostics: Do not suggest using `#[unix_sigpipe]` without a valueMartin Nordholts-4/+4
2024-03-06Stabilize `imported_main`clubby789-11/+0
2024-03-06Rewrite the `untranslatable_diagnostic` lint.Nicholas Nethercote-0/+1
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-3/+3
2024-01-14Rework how diagnostic lints are stored.Nicholas Nethercote-2/+2
2024-01-13Add check for ui_testing via promoting parameters from `ParseSess` to `Session`George-lewis-1/+1
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-9/+9
2023-12-12Move some methods from `tcx.hir()` to `tcx`zetanumbers-1/+1
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-1/+1
2023-10-13Format all the let chains in compilerMichael Goulet-2/+6
2023-10-01Factor out the two `entry_point_type` functions.Nicholas Nethercote-26/+7
2023-08-13Remove reached_eof from ParseSessbjorn3-6/+0
2023-08-09rustc: Move `crate_types` from `Session` to `GlobalCtxt`Vadim Petrochenkov-1/+1
2023-05-15Move expansion of query macros in rustc_middle to rustc_middle::queryJohn Kåre Alsaker-1/+1
2023-04-04Replace a lock with an atomicOli Scherer-1/+1
2023-04-01slighty simplify a few boolean expressions (clippy::nonminimal_bool)Matthias Krüger-1/+1
2023-03-22rustc: Remove unused `Session` argument from some attribute functionsVadim Petrochenkov-4/+5
2023-03-02rustc_middle: Remove trait `DefIdTree`Vadim Petrochenkov-1/+1
2023-01-16Move compiler input and ouput paths into sessionOli Scherer-1/+1
2022-10-29Rename some `OwnerId` fields.Nicholas Nethercote-10/+10
2022-10-07migrate entry.rs to translateable diagnosticsNathan Stocks-90/+55
2022-09-24separate definitions and `HIR` ownersTakayuki Maeda-4/+4
2022-08-28Support `#[unix_sigpipe = "inherit|sig_dfl|sig_ign"]` on `fn main()`Martin Nordholts-14/+42
2022-07-18avoid `Symbol` to `&str` conversionsTakayuki Maeda-1/+1
2022-06-25rustc_passes: De-duplicate more code with `fn throw_attr_err()`Martin Nordholts-12/+14
2022-06-22Fixup missing renames from `#[main]` to `#[rustc_main]`Martin Nordholts-5/+5
2022-05-14use opt_item_name to pattern match items with namesMiguel Guarniz-2/+2
2022-05-13avoid converting to DefId from LocalDefId when using queryMiguel Guarniz-1/+1
2022-05-13replace hir().def_kind for def_kind query in rustc_passesMiguel Guarniz-1/+1
2022-05-13optimize find_item to fetch Item only when neededMiguel Guarniz-26/+39
2022-05-13remove ItemLikeVisitor impl for EntryContextMiguel Guarniz-23/+8
2022-05-02rustc: Panic by default in `DefIdTree::parent`Vadim Petrochenkov-1/+1
2022-04-17Stop using CRATE_DEF_INDEX.Camille GILLOT-31/+22
2022-03-22use `format-args-capture` and remove unnecessary nested if blocks in some par...Takayuki Maeda-29/+23
2022-03-05Do not point at whole file missing `fn main`Esteban Kuber-3/+3
2022-01-15Reduce use of local_def_id_to_hir_id.Camille GILLOT-3/+2