summary refs log tree commit diff
path: root/src/librustc_passes/dead.rs
AgeCommit message (Expand)AuthorLines
2020-05-09Rollup merge of #71555 - cjgillot:nameless, r=matthewjasperRalf Jung-3/+3
2020-05-08Remove ast::{Ident, Name} reexports.Camille GILLOT-3/+3
2020-05-06Dead-code pass highlights too much of impl functionsmibac138-2/+12
2020-04-27Change return type of `entry_fn` query to return a `LocalDefId`marmeladema-2/+1
2020-04-24fix a couple more uses of def_kindmark-1/+1
2020-04-24Remove redundant `descr`/`descriptive_variant` methods from HIR.Eduard-Mihai Burtescu-26/+8
2020-04-23Address comments from reviewmarmeladema-3/+2
2020-04-23Modify `as_local_hir_id` to return a bare `HirId`marmeladema-4/+4
2020-04-23Modify `as_local_hir_id` to accept a `LocalDefId` instead of a `DefId`marmeladema-4/+9
2020-04-19Auto merge of #71331 - Dylan-DPC:rollup-5rn1isc, r=Dylan-DPCbors-1/+3
2020-04-19Dogfood more or_patterns in the compilerJosh Stone-10/+10
2020-04-19Fix false "never constructed" warnings for `Self::` variant pathsseiya-1/+3
2020-03-30Use if let instead of match when only matching a single variant (clippy::sing...Matthias Krüger-6/+3
2020-03-30rustc -> rustc_middle part 3 (rustfmt)Mazdak Farrokhzad-4/+4
2020-03-30rustc -> rustc_middle part 2Mazdak Farrokhzad-4/+4
2020-03-25Rename `def_span` to `guess_head_span`Esteban Küber-2/+2
2020-03-18Rollup merge of #69920 - Centril:hir-cleanup, r=ZoxcMazdak Farrokhzad-1/+1
2020-03-16remove unnecessary hir::map importsMazdak Farrokhzad-1/+1
2020-03-15More Method->Fn renamingMark Mansi-4/+4
2020-03-14Index HIR after creating TyCtxtJohn Kåre Alsaker-3/+3
2020-03-03rename TraitItemKind::Method -> FnMark Mansi-3/+3
2020-02-29Rename `syntax` to `rustc_ast` in source codeVadim Petrochenkov-1/+1
2020-02-27use char instead of &str for single char patternsMatthias Krüger-1/+1
2020-02-24parser: tweak item kind wordingMazdak Farrokhzad-7/+1
2020-02-11Invert control in struct_lint_level.jumbatm-6/+3
2020-02-04remove redundant imports (clippy::single_component_path_imports)Matthias Krüger-1/+0
2020-01-17Use named fields for `hir::ItemKind::Impl`Dylan MacKenzie-4/+4
2020-01-11lints: promote levels.rs to lint.rs & extract passes.rsMazdak Farrokhzad-1/+1
2020-01-08normalize rustc::hir::intravisit importsMazdak Farrokhzad-1/+1
2020-01-08intravisit: abstract over HIR MapMazdak Farrokhzad-2/+7
2020-01-05Remove rustc_hir reexports in rustc::hir.Mazdak Farrokhzad-6/+5
2020-01-04canonicalize FxHash{Map,Set} importsMazdak Farrokhzad-3/+1
2020-01-04extract rustc::middle::codegen_fn_attrsMazdak Farrokhzad-1/+1
2020-01-02Normalize `syntax::symbol` imports.Mazdak Farrokhzad-1/+1
2020-01-01Rename `syntax_pos` to `rustc_span` in source codeVadim Petrochenkov-3/+3
2019-12-27Fallout in other crates.Camille GILLOT-4/+4
2019-12-26Fallout in other crates.Camille GILLOT-6/+11
2019-12-22Format the worldMark Rousskov-130/+147
2019-12-21Use Arena inside hir::StructField.Camille GILLOT-2/+2
2019-12-21Use Arena inside hir::EnumDef.Camille GILLOT-4/+4
2019-12-21Use Arena inside hir::ImplItem.Camille GILLOT-2/+2
2019-12-21Use Arena inside hir::TraitItem.Camille GILLOT-2/+2
2019-12-21Use Arena inside hir::ForeignItem.Camille GILLOT-2/+2
2019-12-21Use Arena inside hir::Item.Camille GILLOT-5/+5
2019-12-21Use Arena inside hir::Crate.Camille GILLOT-3/+3
2019-11-16Use "field is never read" instead of "field is never used"cosine-1/+1
2019-11-05Use source_callee().is_some() to detect macrosPi Lanningham-4/+5
2019-11-05Detect if item.span is in a macro, and fall backPi Lanningham-3/+13
2019-10-26Use ident instead of def_span in dead-code passPi Lanningham-1/+1
2019-10-04middle::dead -> rustc_passesMark Rousskov-0/+676