about summary refs log tree commit diff
path: root/compiler/rustc_traits
AgeCommit message (Collapse)AuthorLines
2021-01-16Remove PredicateKind::AtomJack Huey-2/+6
2020-12-27fix: small typo error in chalk/mod.rs0xflotus-1/+1
2020-12-18Make BoundRegion have a kind of BoungRegionKindJack Huey-45/+35
2020-12-11Move binder for dyn to each list itemJack Huey-29/+34
2020-11-18Don't run `resolve_vars_if_possible` in `normalize_erasing_regions`Joshua Nelson-3/+9
NOTE: `needs_infer()` needs to come after ignoring generic parameters
2020-11-17Auto merge of #78779 - LeSeulArtichaut:ty-visitor-return, r=oli-obkbors-5/+5
Introduce `TypeVisitor::BreakTy` Implements MCP rust-lang/compiler-team#383. r? `@ghost` cc `@lcnr` `@oli-obk` ~~Blocked on FCP in rust-lang/compiler-team#383.~~
2020-11-16compiler: fold by valueBastian Kauschke-22/+22
2020-11-14Introduce `TypeVisitor::BreakTy`LeSeulArtichaut-5/+5
2020-11-09Rollup merge of #78502 - matthewjasper:chalkup, r=nikomatsakisDylan DPC-295/+307
Update Chalk to 0.36.0 This PR updates Chalk and fixes a number of bugs in the chalk integration code. cc `@rust-lang/wg-traits` r? `@nikomatsakis`
2020-10-30Auto merge of #78182 - LeSeulArtichaut:ty-visitor-contolflow, r=lcnr,oli-obkbors-5/+7
TypeVisitor: use `std::ops::ControlFlow` instead of `bool` Implements MCP rust-lang/compiler-team#374. Blocked on FCP in rust-lang/compiler-team#374. r? `@lcnr` cc `@jonas-schievink`
2020-10-30Address review comment and update chalk to 0.36.0Matthew Jasper-32/+32
2020-10-30Fix various Chalk lowering bugsMatthew Jasper-42/+128
- Add more well-known traits - Use the correct binders when lowering trait objects - Use correct substs when lowering trait objects - Use the correct binders for opaque_ty_data - Lower negative impls with the correct polarity - Supply associated type values - Use `predicates_defined_on` for where clauses
2020-10-30Update chalk 0.32.0 -> 0.35.0Matthew Jasper-253/+179
2020-10-30Fix some more clippy warningsJoshua Nelson-21/+21
2020-10-30Remove implicit `Continue` typeLeSeulArtichaut-5/+5
2020-10-30TypeVisitor: use `ControlFlow` in rustc_{mir,privacy,traits,typeck}LeSeulArtichaut-5/+7
2020-10-16Review commentsJack Huey-8/+20
2020-10-16Use map_bound(_ref) instead of Binder::bind when possibleJack Huey-21/+13
2020-10-14Address commentsRoxane-0/+9
2020-10-11Replace tuple of infer vars for upvar_tys with single infer varRoxane-5/+19
This commit allows us to decide the number of captures required after completing capture ananysis, which is required as part of implementing RFC-2229. Co-authored-by: Aman Arora <me@aman-arora.com> Co-authored-by: Jenny Wills <wills.jenniferg@gmail.com>
2020-10-08Update chalk to 0.32.0Bram van den Heuvel-3/+3
2020-10-06Update to chalk 0.31. Implement some unimplemented. Ignore some tests in ↵Jack Huey-39/+56
compare mode chalk don't finish.
2020-10-06Deduplicate some codeMatthew Jasper-24/+15
2020-10-06Fix tests from rebaseMatthew Jasper-1/+4
2020-10-06Fix rebaseMatthew Jasper-5/+11
2020-10-06Fix rebaseMatthew Jasper-14/+14
2020-10-06Fix bugs in evaluating WellFormed predicatesMatthew Jasper-2/+2
- List the nestsed obligations in an order that works with the single pass used by evaluation - Propagate recursion depth correctly
2020-10-06Separate bounds and predicates for associated/opaque typesMatthew Jasper-5/+100
2020-09-27Update chalk to 0.29.0Bram van den Heuvel-3/+3
2020-09-24Upgrade chalk to 0.28.0Bram van den Heuvel-38/+94
2020-09-24Update chalk to 0.27.0Bram van den Heuvel-3/+4
2020-09-24Update chalk to 0.26.0Bram van den Heuvel-15/+20
2020-09-24Update chalk to 0.25.0Bram van den Heuvel-3/+3
2020-09-24Update chalk to 0.24.0Bram van den Heuvel-3/+3
2020-09-24Update chalk to 0.23.0Bram van den Heuvel-3/+3
2020-09-24Update chalk to 0.22.0Bram van den Heuvel-3/+3
2020-09-17Remove redundant #![feature(...)] 's from compiler/est31-1/+0
2020-09-16Rollup merge of #76641 - nox:pointee-random-stuff, r=eddybRalf Jung-15/+5
Some cleanup changes and commenting r? @nikomatsakis Cc @eddyb
2020-09-12Clean up some language trait items comparisonsAnthony Ramine-15/+5
2020-09-09Remove def_id field from ParamEnvBram van den Heuvel-67/+55
2020-09-04kind -> kind()Jack Huey-1/+1
2020-09-04Review commentsJack Huey-108/+111
2020-09-04More chalk workJack Huey-345/+454
2020-09-04Upgrade chalk to 0.21Jack Huey-104/+108
2020-09-04Change ty.kind to a methodLeSeulArtichaut-7/+7
2020-08-30mv compiler to compiler/mark-0/+2621