about summary refs log tree commit diff
path: root/src/librustc_passes/static_recursion.rs
AgeCommit message (Collapse)AuthorLines
2018-02-10Remove "static item recursion checking" in favor of relying on cycle checks ↵John Kåre Alsaker-280/+0
in the query engine
2017-08-15use field init shorthand EVERYWHEREZack M. Davis-2/+2
Like #43008 (f668999), but _much more aggressive_.
2017-07-02report the total number of errors on compilation failureAriel Ben-Yehuda-2/+5
Prior to this PR, when we aborted because a "critical pass" failed, we displayed the number of errors from that critical pass. While that's the number of errors that caused compilation to abort in *that place*, that's not what people really want to know. Instead, always report the total number of errors, and don't bother to track the number of errors from the last pass that failed. This changes the compiler driver API to handle errors more smoothly, and therefore is a compiler-api-[breaking-change]. Fixes #42793.
2017-05-08Remove need for &format!(...) or &&"" dances in `span_label` callsOliver Schneider-1/+1
2017-04-04kill `CheckStaticRecursion`Niko Matsakis-3/+0
2017-02-21Stabilize static_recursionTaylor Cramer-18/+6
2017-01-26rustc: don't call the HIR AST.Eduard-Mihai Burtescu-42/+42
2016-12-28rustc: separate bodies for static/(associated)const and embedded constants.Eduard-Mihai Burtescu-10/+6
2016-12-28rustc: separate TraitItem from their parent Item, just like ImplItem.Eduard-Mihai Burtescu-1/+1
2016-12-03fix stack overflow by enum and cont issue #36163, some paths were skipped ↵Mikhail Modin-65/+60
while checking for recursion.
2016-11-29revamp `Visitor` with a single method for controlling nested visitsNiko Matsakis-4/+6
2016-11-29Split nested_visit_mode function off from nested_visit_mapFlorian Diebold-3/+5
... and make the latter mandatory to implement.
2016-11-29rustc_passes: fix compilationFlorian Diebold-1/+5
2016-11-28rustc: embed path resolutions into the HIR instead of keeping DefMap.Eduard-Mihai Burtescu-12/+7
2016-11-28rustc: desugar UFCS as much as possible during HIR lowering.Eduard Burtescu-1/+1
2016-11-16refactor Visitor into ItemLikeVisitor and intravisit::VisitorNiko Matsakis-1/+2
There are now three patterns (shallow, deep, and nested visit). These are described in detail on the docs in `itemlikevisit::ItemLikeVisitor`.
2016-10-04Turn some impossible definitions into ICEsVadim Petrochenkov-2/+2
2016-10-04Separate Def::StructCtor/Def::VariantCtor from Def::Struct/Def::VariantVadim Petrochenkov-2/+2
2016-09-26make emit_feature_err take a ParseSessTim Neumann-1/+1
2016-09-20rustc_metadata: group information into less tags.Eduard Burtescu-8/+6
2016-08-30update E0265 to new formatMikhail Modin-6/+8
2016-08-04run rustfmt on librustc_passes folderSrinivas Reddy Thatiparthy-36/+40
2016-06-23Move errors from libsyntax to its own crateJonathan Turner-1/+1
2016-04-06rustc: move middle::{def,def_id,pat_util} to hir.Eduard Burtescu-1/+1
2016-04-06rustc: move rustc_front to rustc::hir.Eduard Burtescu-3/+3
2016-03-31librustc_passes: use bug!(), span_bug!()Benjamin Herr-9/+9
2016-02-05Instrument a bunch of tasks that employ the HIR map in one way orNiko Matsakis-3/+6
another and were not previously instrumented.
2016-02-01Replace some aborts with ResultsNick Cameron-4/+4
Fixes #31207 by removing abort_if_new_errors
2016-01-21move more checks out of librustcOliver Schneider-0/+290