bors[bot] f59cd1a4a0 Merge #1515
1515: Trait environment r=matklad a=flodiebold

This adds the environment, i.e. the set of `where` clauses in scope, when solving trait goals. That means that e.g. in
```rust
fn foo<T: SomeTrait>(t: T) {}
```
, we are able to complete methods of `SomeTrait` on the `t`. This affects the trait APIs quite a bit (since every method that needs to be able to solve for some trait needs to get this environment somehow), so I thought I'd do it rather sooner than later ;)

Co-authored-by: Florian Diebold <flodiebold@gmail.com>
2019-07-09 07:50:18 +00:00
..
2019-07-04 23:09:09 +03:00
2019-07-05 10:18:01 -04:00
2019-07-09 00:28:00 +09:00
2019-07-09 00:28:00 +09:00
2019-07-09 00:28:00 +09:00
2019-07-04 23:09:09 +03:00
2019-07-09 07:50:18 +00:00
2019-07-09 00:28:00 +09:00
2019-07-05 12:02:32 -04:00
2019-07-09 00:28:00 +09:00
2019-07-04 23:09:09 +03:00
2019-07-04 23:09:09 +03:00
2019-07-09 00:28:00 +09:00