about summary refs log tree commit diff
path: root/src/librustc_passes/loops.rs
AgeCommit message (Collapse)AuthorLines
2020-08-30mv compiler to compiler/mark-240/+0
2020-07-05Use for<'tcx> fn pointers in Providers, instead of having Providers<'tcx>.Eduard-Mihai Burtescu-1/+1
2020-06-27use LocalDefId in module checkingBastian Kauschke-2/+2
2020-05-26Allow unlabeled breaks from desugared `?` in labeled blocksSamrat Man Singh-1/+2
2020-04-24Avoid unused Option::map resultsJosh Stone-1/+3
These are changes that would be needed if we add `#[must_use]` to `Option::map`, per #71484.
2020-04-12Remove usage of `DUMMY_HIR_ID` in `CheckLoopVisitor`marmeladema-8/+8
2020-03-30rustc -> rustc_middle part 3 (rustfmt)Mazdak Farrokhzad-3/+3
2020-03-30rustc -> rustc_middle part 2Mazdak Farrokhzad-3/+3
2020-03-20remove redundant returns (clippy::needless_return)Matthias Krüger-1/+1
2020-03-14Index HIR after creating TyCtxtJohn Kåre Alsaker-5/+4
2020-02-27don't use .into() to convert types into identical types.Matthias Krüger-1/+1
example: let s: String = format!("hello").into();
2020-01-18remove rustc_error_codes deps except in rustc_driverMazdak Farrokhzad-4/+1
2020-01-10nix syntax::errors & prefer rustc_errors over errorsMazdak Farrokhzad-1/+1
2020-01-08normalize rustc::hir::intravisit importsMazdak Farrokhzad-1/+1
2020-01-08intravisit: abstract over HIR MapMazdak Farrokhzad-1/+3
2020-01-08- remove syntax::{span_warn!, span_err!, span_fatal!. struct_err!}Mazdak Farrokhzad-2/+1
- remove syntax::{help!, span_help!, span_note!} - remove unused syntax::{struct_span_fatal, struct_span_err_or_warn!, span_err_or_warn!} - lintify check_for_bindings_named_same_as_variants + conflicting_repr_hints - inline syntax::{struct_span_warn!, diagnostic_used!} - stringify_error_code! -> error_code! & use it more. - find_plugin_registrar: de-fatalize an error - de-fatalize metadata errors - move type_error_struct! to rustc_typeck - struct_span_err! -> rustc_errors
2020-01-05Remove rustc_hir reexports in rustc::hir.Mazdak Farrokhzad-2/+3
2020-01-01Rename `syntax_pos` to `rustc_span` in source codeVadim Petrochenkov-1/+1
2019-12-26Fallout in other crates.Camille GILLOT-1/+1
2019-12-22Format the worldMark Rousskov-63/+85
2019-11-25Tweak bad `continue` errorEsteban Küber-2/+2
2019-11-14Update to use new librustc_error_codes libraryGuillaume Gomez-0/+2
2019-11-10Merge hir::GeneratorMovability into ast::Movability.Camille GILLOT-2/+2
2019-09-26Rename `Expr.node` to `Expr.kind`varkor-2/+2
For both `ast::Expr` and `hir::Expr`.
2019-08-21`r#type` -> `ty`Artem Varaksa-4/+4
2019-08-21improve diagnostics: break/continue wrong contextArtem Varaksa-19/+18
2019-08-18Better error message for break in async blocks.Giles Cope-3/+14
2019-07-06Remove ExprKind::While from HIR.Mazdak Farrokhzad-28/+4
2019-07-03Remove needless lifetimesJeremy Stucki-1/+1
2019-06-24HIR: rename find_by_hir_id to findljedrz-2/+2
2019-06-20rename hir::map::expect_expr_by_hir_id to expect_exprljedrz-1/+1
2019-06-18rustc: remove 'x: 'y bounds (except from comments/strings).Eduard-Mihai Burtescu-1/+1
2019-06-14Unify all uses of 'gcx and 'tcx.Eduard-Mihai Burtescu-1/+1
2019-06-12rustc: replace `TyCtxt<'tcx, 'gcx, 'tcx>` with `TyCtxt<'gcx, 'tcx>`.Eduard-Mihai Burtescu-1/+1
2019-06-12rustc: replace `TyCtxt<'a, 'gcx, 'tcx>` with `TyCtxt<'tcx, 'gcx, 'tcx>`.Eduard-Mihai Burtescu-1/+1
2019-03-09Rollup merge of #58679 - Zoxc:passes-refactor, r=michaelwoeristerMazdak Farrokhzad-6/+0
Refactor passes and pass execution to be more parallel For `syntex_syntax` (with 16 threads and 8 cores): - Cuts `misc checking 1` from `0.096s` to `0.08325s`. - Cuts `misc checking 2` from `0.3575s` to `0.2545s`. - Cuts `misc checking 3` from `0.34625s` to `0.21375s`. - Cuts `wf checking` from `0.3085s` to `0.05025s`. Reduces overall execution time for `syntex_syntax` (with 8 threads and cores) from `4.92s` to `4.34s`. Subsumes https://github.com/rust-lang/rust/pull/58494 Blocked on https://github.com/rust-lang/rust/pull/58250 r? @michaelwoerister
2019-03-07hir: replace NodeId with HirId in Destinationljedrz-9/+8
2019-03-06Make misc checking 1 more parallelJohn Kåre Alsaker-6/+0
2019-02-08librustc_passes => 2018Taiki Endo-2/+3
2019-01-29Add an ensure() method to TyCtxt used to ensure queries are runJohn Kåre Alsaker-2/+1
2019-01-26remove `_with_applicability` from suggestion fnsAndy Russell-1/+1
2019-01-11Address commentsJohn Kåre Alsaker-2/+2
2019-01-11Make more passes incrementalJohn Kåre Alsaker-13/+21
2018-12-25Remove licensesMark Rousskov-9/+0
2018-09-17Whitespace fix again.Vitaly _Vi Shukela-6/+8
2018-09-17Fill in suggestions Applicability according to @estebankVitaly _Vi Shukela-1/+1
Also fix some formatting along the way.
2018-09-17Fix style according to review comments.Vitaly _Vi Shukela-1/+2
2018-09-16Remove usages of span_suggestion without ApplicabilityVitaly _Vi Shukela-2/+5
Use Applicability::Unspecified for all of them instead.
2018-09-07A few cleanups and minor improvements to rustc_passesljedrz-9/+7
2018-08-27Rename hir::map::NodeKind to hir::Nodevarkor-4/+4