summary refs log tree commit diff
path: root/src/librustc_passes
AgeCommit message (Expand)AuthorLines
2019-12-13Use better name for local containing required feature gatesDylan MacKenzie-5/+5
2019-12-13Replace `Index` impl with `enabled` methodDylan MacKenzie-2/+2
2019-12-13Apply suggestions from reviewDylan MacKenzie-5/+5
2019-12-13Improve commentDylan MacKenzie-2/+2
2019-12-13Restructue HIR const-checker to handle features with multiple gatesDylan MacKenzie-19/+69
2019-12-07Simplify `check_decl_no_pat`.Mazdak Farrokhzad-5/+5
2019-12-02syntax: Remove redundant span from `ast::Mac`Vadim Petrochenkov-8/+0
2019-11-30move GateIssue to rustc_feature & simplify emit_feature_errMazdak Farrokhzad-8/+2
2019-11-30move is_builtin_attr to syntax::attrMazdak Farrokhzad-2/+1
2019-11-30introduce crate rustc_feature and move active, accepted, and removed to itMazdak Farrokhzad-1/+3
2019-11-26Rollup merge of #66754 - estebank:rustdoc-capitalization, r=Dylan-DPCTyler Mandry-2/+2
2019-11-25Tweak bad `continue` errorEsteban Küber-2/+2
2019-11-24Add raw address of expressions to the AST and HIRMatthew Jasper-1/+1
2019-11-23Auto merge of #66507 - ecstatic-morse:const-if-match, r=oli-obkbors-25/+73
2019-11-22Rollup merge of #66183 - Centril:empty-vis-trait-decl, r=petrochenkovMazdak Farrokhzad-0/+6
2019-11-21Suggest `const_if_match` on nightlyDylan MacKenzie-19/+70
2019-11-21Hold a `TyCtxt` in the HIR const-checkerDylan MacKenzie-10/+7
2019-11-21Add feature gate for const `if` and `match`Dylan MacKenzie-1/+1
2019-11-21reduce size of hir::ExprKindMazdak Farrokhzad-13/+17
2019-11-20Rollup merge of #66535 - estebank:issue-62480, r=matthewjasperMazdak Farrokhzad-3/+10
2019-11-18Avoid ICE when `break`ing to an unreachable labelEsteban Küber-3/+10
2019-11-18Reword help and add testEsteban Küber-6/+4
2019-11-18Add more context to `async fn` trait error. Suggest `async-trait`.Agustin Fernandez-1/+6
2019-11-16Use "field is never read" instead of "field is never used"cosine-1/+1
2019-11-15Rollup merge of #66197 - Centril:transparent-ast, r=varkorTyler Mandry-9/+1
2019-11-14TAIT: remove redundant check from ast_validationMazdak Farrokhzad-9/+1
2019-11-14move E0744 to new error codeGuillaume Gomez-0/+1
2019-11-14Remove unused error_codes.rs filesGuillaume Gomez-657/+0
2019-11-14Update to use new librustc_error_codes libraryGuillaume Gomez-2/+9
2019-11-13Use `ast::Mutability`Dylan MacKenzie-2/+3
2019-11-13Change control flow error to delay span bugDylan MacKenzie-4/+5
2019-11-13Fix broken doc-testDylan MacKenzie-1/+1
2019-11-13Small fixes to commentsDylan MacKenzie-4/+5
2019-11-13Add HIR pass to check for `if`s and `loop`s in a `const`Dylan MacKenzie-0/+159
2019-11-13Add E0744 for control flow in constsDylan MacKenzie-0/+22
2019-11-11Auto merge of #66252 - cjgillot:trees, r=oli-obkbors-2/+2
2019-11-11syntactically allow visibility on trait item & enum variantMazdak Farrokhzad-0/+6
2019-11-10Merge hir::GeneratorMovability into ast::Movability.Camille GILLOT-2/+2
2019-11-10move syntax::parse -> librustc_parseMazdak Farrokhzad-4/+5
2019-11-09move attr meta grammar to parse::validate_atr + ast_validationMazdak Farrokhzad-0/+5
2019-11-08Rollup merge of #66188 - Centril:fnsig, r=davidtwcoMazdak Farrokhzad-4/+4
2019-11-08Rollup merge of #65785 - Centril:compat-to-error-2, r=oli-obkMazdak Farrokhzad-112/+19
2019-11-08ast::ItemKind::Fn: use ast::FnSigMazdak Farrokhzad-4/+4
2019-11-07Auto merge of #65750 - nnethercote:cheaper-doc-comments, r=petrochenkovbors-1/+1
2019-11-06Make doc comments cheaper with `AttrKind`.Nicholas Nethercote-1/+1
2019-11-06nested_impl_trait -> errorMazdak Farrokhzad-107/+19
2019-11-06legacy_directory_ownership -> errorMazdak Farrokhzad-5/+0
2019-11-06Auto merge of #65830 - Quantumplation:master, r=davidtwco,estebankbors-3/+14
2019-11-05Use source_callee().is_some() to detect macrosPi Lanningham-4/+5
2019-11-05Detect if item.span is in a macro, and fall backPi Lanningham-3/+13