about summary refs log tree commit diff
path: root/src/librustc_incremental/persist/dirty_clean.rs
AgeCommit message (Collapse)AuthorLines
2020-08-30mv compiler to compiler/mark-558/+0
2020-08-17rust_ast::ast => rustc_astUjjwal Sharma-1/+1
2020-08-08Eliminate the `SessionGlobals` from `librustc_ast`.Nicholas Nethercote-3/+3
By moving `{known,used}_attrs` from `SessionGlobals` to `Session`. This means they are accessed via the `Session`, rather than via TLS. A few `Attr` methods and `librustc_ast` functions are now methods of `Session`. All of this required passing a `Session` to lots of functions that didn't already have one. Some of these functions also had arguments removed, because those arguments could be accessed directly via the `Session` argument. `contains_feature_attr()` was dead, and is removed. Some functions were moved from `librustc_ast` elsewhere because they now need to access `Session`, which isn't available in that crate. - `entry_point_type()` --> `librustc_builtin_macros` - `global_allocator_spans()` --> `librustc_metadata` - `is_proc_macro_attr()` --> `Session`
2020-08-04rustc_ast: `(Nested)MetaItem::check_name` -> `has_name`Vadim Petrochenkov-5/+5
For consistency with `Attribute::has_name` which doesn't mark the attribute as used either. Replace all uses of `check_name` with `has_name` outside of rustc
2020-07-17Rename TypeckTables to TypeckResults.Valentin Lazureanu-3/+3
2020-07-15mir_built is a lieBastian Kauschke-3/+2
2020-07-15Remove lots of `Symbol::as_str()` calls.Nicholas Nethercote-4/+4
In various ways, such as changing functions to take a `Symbol` instead of a `&str`.
2020-07-10Avoid "whitelist"Tamir Duberstein-1/+1
Other terms are more inclusive and precise.
2020-06-11Remove associated opaque typesMatthew Jasper-1/+0
They're unused now.
2020-05-08Remove ast::{Ident, Name} reexports.Camille GILLOT-1/+1
2020-04-23librustc_middle: return LocalDefId instead of DefId in local_def_idmarmeladema-3/+3
2020-03-30rustc -> rustc_middle part 2Mazdak Farrokhzad-4/+4
2020-03-23Put extract_def_id back on DepNode.Camille GILLOT-2/+2
2020-03-23Fallout in other crates.Camille GILLOT-2/+2
2020-03-19hir: replace "items" terminology with "nodes" where appropriate.Eduard-Mihai Burtescu-2/+2
2020-03-15More Method->Fn renamingMark Mansi-1/+1
2020-03-14Replace `HirBody` with `hir_owner_items` in testsJohn Kåre Alsaker-2/+3
2020-03-14Index HIR after creating TyCtxtJohn Kåre Alsaker-2/+2
2020-03-14Remove `Hir` and `HirBody` dep nodesJohn Kåre Alsaker-2/+1
2020-03-14Rollup merge of #69809 - matthiaskrgr:lifetimes, r=eddybYuki Okushi-1/+1
remove lifetimes that can be elided (clippy::needless_lifetimes)
2020-03-12remove lifetimes that can be elided (clippy::needless_lifetimes)Matthias Krüger-1/+1
2020-03-12Rollup merge of #69674 - mark-i-m:assoc-fn, r=matthewjasperMazdak Farrokhzad-1/+1
Rename DefKind::Method and TraitItemKind::Method r? @eddyb, @Centril, or @matthewjasper cc #69498 #60163
2020-03-05Use more efficient &&str to String conversion (clippy::inefficient_to_string)Matthias Krüger-1/+2
2020-03-03rename TraitItemKind::Method -> FnMark Mansi-1/+1
2020-02-29Rename `syntax` to `rustc_ast` in source codeVadim Petrochenkov-2/+2
2020-02-27Remove unneeded calls to format!()Björn Steinbrink-4/+1
2020-02-19Make is_object_safe a method.Camille GILLOT-1/+1
2020-01-17Use named fields for `hir::ItemKind::Impl`Dylan MacKenzie-1/+1
2020-01-08normalize rustc::hir::intravisit importsMazdak Farrokhzad-1/+1
2020-01-08intravisit: abstract over HIR MapMazdak Farrokhzad-1/+4
2020-01-05Remove rustc_hir reexports in rustc::hir.Mazdak Farrokhzad-5/+5
2020-01-02Normalize `syntax::symbol` imports.Mazdak Farrokhzad-1/+1
2020-01-01Rename `syntax_pos` to `rustc_span` in source codeVadim Petrochenkov-1/+1
2019-12-22Format the worldMark Rousskov-165/+81
2019-12-21Use Arena inside hir::ImplItem.Camille GILLOT-1/+1
2019-12-21Use Arena inside hir::TraitItem.Camille GILLOT-1/+1
2019-12-21Use Arena inside hir::Item.Camille GILLOT-1/+1
2019-12-18Remove some unnecessary `ATTR_*` constants.Nicholas Nethercote-4/+3
2019-11-02Simplify various `Symbol` use points.Nicholas Nethercote-2/+2
Including removing a bunch of unnecessary `.as_str()` calls, and a bunch of unnecessary sigils.
2019-09-26Rename `Item.node` to `Item.kind`varkor-2/+2
2019-09-26Rename `TraitItem.node` to `TraitItem.kind`varkor-1/+1
2019-09-26Rename `ImplItem.node` to `ImplItem.kind`varkor-1/+1
2019-08-23Fix incremental testsWesley Wiser-6/+21
2019-08-04Rename `ItemImplKind::Type` to `ItemImplKind::TyAlias`varkor-1/+1
2019-08-04Rename `ItemKind::Ty` to `ItemKind::TyAlias`varkor-1/+1
2019-08-02Replace "existential" by "opaque"varkor-1/+1
2019-07-20normalize use of backticks in compiler messages for librustc_incrementalSamy Kacimi-1/+1
https://github.com/rust-lang/rust/issues/60532
2019-07-04rename hir::map::local_def_id_from_hir_id to local_def_idljedrz-1/+1
2019-07-03Remove needless lifetimesJeremy Stucki-1/+1
2019-06-20rename hir::map::get_by_hir_id to getljedrz-1/+1