about summary refs log tree commit diff
path: root/src/librustc_incremental
AgeCommit message (Collapse)AuthorLines
2019-08-02Replace "existential" by "opaque"varkor-1/+1
2019-08-02librustc_incremental: Unconfigure tests during normal buildVadim Petrochenkov-64/+68
2019-07-28Deny `unused_lifetimes` through rustbuildVadim Petrochenkov-2/+0
2019-07-28Remove lint annotations in specific crates that are already enforced by ↵Vadim Petrochenkov-1/+0
rustbuild Remove some random unnecessary lint `allow`s
2019-07-23cleanup: Remove `extern crate serialize as rustc_serialize`sVadim Petrochenkov-4/+1
2019-07-20normalize use of backticks in compiler messages for librustc_incrementalSamy Kacimi-5/+5
https://github.com/rust-lang/rust/issues/60532
2019-07-07rustc: Remove `dylib` crate type from most rustc cratesAlex Crichton-1/+1
Now that procedural macros no longer link transitively to libsyntax, this shouldn't be needed any more! This commit is an experiment in removing all dynamic libraries from rustc except for librustc_driver itself. Let's see how far we can get with that!
2019-07-05Rollup merge of #62168 - ljedrz:the_culmination_of_hiridification, r=ZoxcMazdak Farrokhzad-2/+2
The (almost) culmination of HirIdification It's finally over. This PR removes old `FIXME`s and renames some functions so that the `HirId` variant has the shorter name. All that remains (and rightfully so) is stuff in `resolve`, `save_analysis` and (as far as I can tell) in a few places where we can't replace `NodeId` with `HirId`.
2019-07-05Rollup merge of #61545 - flip1995:internal_lints, r=oli-obkMazdak Farrokhzad-1/+0
Implement another internal lints cc #49509 This adds ~~two~~ one internal lint~~s~~: 1. LINT_PASS_IMPL_WITHOUT_MACRO: Make sure, that the `{declare,impl}_lint_pass` macro is used to implement lint passes. cc #59669 2. ~~USAGE_OF_TYCTXT_AND_SPAN_ARGS: item 2 on the list in #49509~~ ~~With 2. I wasn't sure, if this lint should be applied everywhere. That means a careful review of 0955835 would be great. Also 73fb9b4 allows this lint on some functions. Should I also apply this lint there?~~ TODO (not directly relevant for review): - [ ] https://github.com/rust-lang/rust/pull/59316#discussion_r280186517 (not sure yet, if this works or how to query for `rustc_private`, since it's not in [`Features`](https://doc.rust-lang.org/nightly/nightly-rustc/syntax/feature_gate/struct.Features.html) :thinking: cc @eddyb) - [x] https://github.com/rust-lang/rust/pull/61735#discussion_r292389870 - [x] Check explicitly for the `{declare,impl}_lint_pass!` macros r? @oli-obk
2019-07-04rename hir::map::local_def_id_from_hir_id to local_def_idljedrz-2/+2
2019-07-03Remove needless lifetimesJeremy Stucki-4/+4
2019-07-03Remove needless lifetimesJeremy Stucki-2/+2
2019-06-24Enable internal lints in bootstrapflip1995-1/+0
2019-06-20rename hir::map::get_by_hir_id to getljedrz-1/+1
2019-06-14Run `rustfmt --file-lines ...` for changes from previous commits.Eduard-Mihai Burtescu-5/+1
2019-06-14Unify all uses of 'gcx and 'tcx.Eduard-Mihai Burtescu-15/+15
2019-06-12Run `rustfmt --file-lines ...` for changes from previous commits.Eduard-Mihai Burtescu-8/+7
2019-06-12rustc: replace `TyCtxt<'tcx, 'gcx, 'tcx>` with `TyCtxt<'gcx, 'tcx>`.Eduard-Mihai Burtescu-15/+15
2019-06-12Fix fallout from `deny(unused_lifetimes)`.Eduard-Mihai Burtescu-6/+6
2019-06-12rustc: replace `TyCtxt<'a, 'gcx, 'tcx>` with `TyCtxt<'tcx, 'gcx, 'tcx>`.Eduard-Mihai Burtescu-23/+22
2019-06-11rustc_incremental: deny(unused_lifetimes).Eduard-Mihai Burtescu-2/+3
2019-05-13Pass a `Symbol` to `check_name`, `emit_feature_err`, and related functions.Nicholas Nethercote-10/+12
2019-04-17Deny `internal` in stage0Mateusz Mikuła-1/+1
2019-04-15Make check_name genericJohn Kåre Alsaker-1/+1
2019-04-04Auto merge of #59517 - Zoxc:new-queries, r=oli-obkbors-13/+13
Move query definitions over to the proc macro r? @oli-obk
2019-04-03Deny internal lints on non conflicting cratesflip1995-0/+1
- libarena - librustc_allocator - librustc_borrowck - librustc_codegen_ssa - librustc_codegen_utils - librustc_driver - librustc_errors - librustc_incremental - librustc_metadata - librustc_passes - librustc_privacy - librustc_resolve - librustc_save_analysis - librustc_target - librustc_traits - libsyntax - libsyntax_ext - libsyntax_pos
2019-03-30Update testsJohn Kåre Alsaker-2/+2
2019-03-30Move query definitions over to the proc macroJohn Kåre Alsaker-11/+11
2019-03-26fix: Make incremental artifact deletion more robustMarkus Westerlind-1/+4
Should fix the intermittent errors reported in #57958 cc #48614
2019-03-26Rollup merge of #59315 - Zoxc:move-query, r=oli-obkMazdak Farrokhzad-3/+3
Add no_hash to query macro and move some queries over r? @oli-obk
2019-03-25Auto merge of #59256 - petrochenkov:derval2, r=Zoxcbors-2/+2
Make meta-item API compatible with `LocalInternedString::get` soundness fix r? @Zoxc
2019-03-20Add no_hash to query macro and move some queries overJohn Kåre Alsaker-3/+3
2019-03-18Add load_cached query modifier and keep dep node names consistent with query ↵John Kåre Alsaker-11/+11
names
2019-03-18Define queries using a proc macroJohn Kåre Alsaker-4/+4
2019-03-17Make meta-item API compatible with `LocalInternedString::get` soundness fixVadim Petrochenkov-2/+2
2019-03-16Refactor away `NestedMetaItemKind`Vadim Petrochenkov-5/+5
Remove methods `Attribute::span` and `MetaItem::span` duplicating public fields
2019-03-16syntax: Do not accidentally treat multi-segment meta-items as single-segmentVadim Petrochenkov-4/+4
2019-03-15rustc: rename item_path to def_path (except the module in ty).Eduard-Mihai Burtescu-2/+2
2019-03-13Rollup merge of #59093 - Zoxc:no-prealloc, r=michaelwoeristerMazdak Farrokhzad-1/+0
Remove precompute_in_scope_traits_hashes r? @michaelwoerister
2019-03-13Rollup merge of #58908 - JohnTitor:improve-rand, r=scottmcmMazdak Farrokhzad-1/+1
Update rand version cc: #57724 r? @scottmcm
2019-03-11Remove precompute_in_scope_traits_hashesJohn Kåre Alsaker-1/+0
2019-03-10Make the rustc driver and interface demand drivenJohn Kåre Alsaker-5/+5
2019-03-04Update rand versionYuki Okushi-1/+1
2019-03-01hir: remove NodeId from TraitItemljedrz-18/+18
2019-02-10rustc: doc commentsAlexander Regueiro-18/+17
2019-02-10Auto merge of #57770 - Zoxc:no-hash-query, r=michaelwoeristerbors-2/+2
Add a query type which is always marked as red if it runs This is useful for queries which produce results which are very likely to change if their inputs do. I also expect this to be useful for end to end queries because 1) we don't need `HashStable` impls and 2) we avoid the overhead of hashing the result of large results like the AST or the HIR map. r? @michaelwoerister
2019-02-09Rollup merge of #58261 - taiki-e:librustc_incremental-2018, r=CentrilMazdak Farrokhzad-32/+29
librustc_incremental => 2018 Transitions `librustc_incremental` to Rust 2018; cc #58099 r? @Centril
2019-02-08librustc_incremental => 2018Taiki Endo-32/+29
2019-02-08Update testsJohn Kåre Alsaker-2/+2
2019-02-07Remove images' url to make it work even without internet connectionGuillaume Gomez-3/+1