summary refs log tree commit diff
path: root/src/librustc_passes/check_const.rs
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/+68
2019-11-30move GateIssue to rustc_feature & simplify emit_feature_errMazdak Farrokhzad-8/+2
2019-11-30introduce crate rustc_feature and move active, accepted, and removed to itMazdak Farrokhzad-1/+2
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-14move E0744 to new error codeGuillaume Gomez-0/+1
2019-11-13Use `ast::Mutability`Dylan MacKenzie-2/+3
2019-11-13Change control flow error to delay span bugDylan MacKenzie-4/+5
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/+157