about summary refs log tree commit diff
path: root/src/librustc_privacy
AgeCommit message (Expand)AuthorLines
2020-04-27Accept `LocalDefId` as key for `check_mod_privacy` querymarmeladema-9/+9
2020-04-24Remove `Option` from the return type of `def_kind`.Eduard-Mihai Burtescu-5/+4
2020-04-24Split out the `Generator` case from `DefKind::Closure`.Eduard-Mihai Burtescu-3/+4
2020-04-24add a few more DefKindsmark-3/+13
2020-04-23Address comments from reviewmarmeladema-10/+6
2020-04-23Modify `as_local_hir_id` to return a bare `HirId`marmeladema-11/+10
2020-04-23Modify `as_local_hir_id` to accept a `LocalDefId` instead of a `DefId`marmeladema-15/+26
2020-04-23librustc_middle: return LocalDefId instead of DefId in local_def_idmarmeladema-9/+12
2020-04-14Do not use `DUMMY_HIR_ID` as placeholder value in node_id_to_hir_id tablemarmeladema-1/+6
2020-04-14Auto merge of #70643 - Rustin-Liu:rustin-patch-rename, r=eddybbors-2/+2
2020-04-14Rename AssocKind::Method to AssocKind::FnRustin-Liu-2/+2
2020-04-13Remove usage of `DUMMY_HIR_ID` in some visitorsmarmeladema-4/+4
2020-04-10librustc_middle: return LocalDefId instead of DefId in get_parent_didmarmeladema-3/+4
2020-04-07fix another ICEmark-1/+1
2020-04-07fix abuses of tykind::errmark-1/+7
2020-03-30Use if let instead of match when only matching a single variant (clippy::sing...Matthias Krüger-37/+31
2020-03-30rustc -> rustc_middle part 3 (rustfmt)Mazdak Farrokhzad-7/+7
2020-03-30rustc -> rustc_middle part 2Mazdak Farrokhzad-7/+7
2020-03-30rustc -> rustc_middle part 1Mazdak Farrokhzad-1/+1
2020-03-27Rollup merge of #70344 - Centril:hir-pretty, r=eddybDylan DPC-6/+10
2020-03-24fmtJeremy Stucki-1/+1
2020-03-24decouple rustc_hir::print from crateMazdak Farrokhzad-6/+10
2020-03-23Increase verbosity when using update syntaxJeremy Stucki-4/+11
2020-03-22Normalize wording of privacy access labelsEsteban Küber-4/+12
2020-03-20remove redundant returns (clippy::needless_return)Matthias Krüger-2/+2
2020-03-19rustc: use LocalDefId instead of DefIndex in HirId.Eduard-Mihai Burtescu-1/+1
2020-03-18Rollup merge of #69920 - Centril:hir-cleanup, r=ZoxcMazdak Farrokhzad-2/+3
2020-03-16Rollup merge of #69989 - petrochenkov:nolegacy, r=eddyb,matthewjasperDylan DPC-1/+1
2020-03-16use direct imports for `rustc::{lint, session}`.Mazdak Farrokhzad-1/+2
2020-03-16remove unnecessary hir::map importsMazdak Farrokhzad-1/+1
2020-03-15More Method->Fn renamingMark Mansi-3/+2
2020-03-16ast/hir: `MacroDef::legacy` -> `MacroDef::macro_rules`Vadim Petrochenkov-1/+1
2020-03-15Auto merge of #68944 - Zoxc:hir-map, r=eddybbors-13/+13
2020-03-14Index HIR after creating TyCtxtJohn Kåre Alsaker-13/+13
2020-03-14rustc_metadata: Remove `rmeta::MacroDef`Vadim Petrochenkov-1/+1
2020-03-03DefKind::Method -> DefKind::AssocFnMark Mansi-2/+2
2020-03-01Auto merge of #69380 - Zoxc:parent-module, r=michaelwoeristerbors-1/+1
2020-03-01Auto merge of #69592 - petrochenkov:nosyntax, r=Centrilbors-2/+2
2020-02-29Rename `syntax` to `rustc_ast` in source codeVadim Petrochenkov-2/+2
2020-02-29Make it build againVadim Petrochenkov-1/+1
2020-02-29Add a `parent_module_from_def_id` queryJohn Kåre Alsaker-1/+1
2020-02-29remove unneeded .as_ref() calls.Matthias Krüger-1/+1
2020-02-11Move more into decorate functions.jumbatm-4/+4
2020-02-11Run RustFmtjumbatm-11/+13
2020-02-11Invert control in struct_lint_level.jumbatm-14/+15
2020-02-01Move builtin attribute logic to new rustc_attr crate.Mazdak Farrokhzad-1/+2
2020-01-21Rollup merge of #68140 - ecstatic-morse:const-trait-bound-opt-out, r=oli-obkMazdak Farrokhzad-2/+2
2020-01-20Track constness while lowering boundsDylan MacKenzie-1/+1
2020-01-20Add `constness` field to `ty::Predicate::Trait`Dylan MacKenzie-1/+1
2020-01-18remove rustc_error_codes deps except in rustc_driverMazdak Farrokhzad-3/+0