summary refs log tree commit diff
path: root/compiler/rustc_passes/src/entry.rs
AgeCommit message (Collapse)AuthorLines
2022-03-22use `format-args-capture` and remove unnecessary nested if blocks in some ↵Takayuki Maeda-29/+23
parts of rustc_passes break before the `&&` Update compiler/rustc_passes/src/check_const.rs Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com>
2022-03-05Do not point at whole file missing `fn main`Esteban Kuber-3/+3
Only point at the end of the crate. We could try making it point at the beginning of the crate, but that is confused with `DUMMY_SP`, causing the output to be *worse*. This change will make it so that VSCode will *not* underline the whole file when `main` is missing, so other errors will be visible.
2022-01-15Reduce use of local_def_id_to_hir_id.Camille GILLOT-3/+2
2022-01-15Use LocalDefId in rustc_passes::entry.Camille GILLOT-15/+15
2021-09-29Avoid more invocations of hir_crate query.Camille GILLOT-3/+3
2021-08-01Auto merge of #87449 - matthiaskrgr:clippyy_v2, r=nagisabors-1/+1
more clippy::complexity fixes (also a couple of clippy::perf fixes)
2021-07-25clippy::useless_formatMatthias Krüger-1/+1
2021-07-25Introduce OwnerNode::Crate.Camille GILLOT-1/+1
2021-07-06Make resolutions a query.Camille GILLOT-24/+27
2021-06-09Fix ICE when `main` is declared in an `extern` blockasquared31415-1/+15
2021-06-01Revert "Reduce the amount of untracked state in TyCtxt"Camille Gillot-16/+13
2021-05-30Make resolutions a query.Camille GILLOT-13/+16
2021-05-12Use () for entry_fn.Camille GILLOT-8/+2
2021-04-29Implement RFC 1260 with feature_name `imported_main`.Charles Lew-23/+28
2021-04-16Remove #[main] attribute.Charles Lew-7/+4
2021-03-30Remove hir::CrateItem.Camille GILLOT-1/+1
2021-03-09Remove hir::Item::attrs.Camille GILLOT-6/+8
2021-03-09Remove hir::Crate::attrs.Camille GILLOT-2/+2
2021-02-15Only store a LocalDefId in hir::Item.Camille GILLOT-6/+5
Items are guaranteed to be HIR owner.
2020-11-26Formatting.Camille GILLOT-1/+3
2020-11-26Store ForeignItem in a side table.Camille GILLOT-1/+3
2020-10-04Enforce crate level attributes checksGuillaume Gomez-18/+26
2020-08-30mv compiler to compiler/mark-0/+221