|
| 1 | +# Triage meeting on 2019-03-11 |
| 2 | + |
| 3 | +## Info |
| 4 | + |
| 5 | +[Zulip thread][] |
| 6 | + |
| 7 | +[Zulip thread]: https://rust-lang.zulipchat.com/#narrow/stream/144729-t-compiler.2Fwg-traits/topic/weeky.20meeting.202019-03-11 |
| 8 | + |
| 9 | +## Help wanted! |
| 10 | + |
| 11 | +- nikomatsakis is looking for someone to help |
| 12 | + |
| 13 | +## Summary |
| 14 | + |
| 15 | +We followed up on the goals from last time. |
| 16 | + |
| 17 | +### Lazy normalization and const generics |
| 18 | + |
| 19 | +[Link](https://rust-lang.zulipchat.com/#narrow/stream/144729-t-compiler.2Fwg-traits/topic/weeky.20meeting.202019-03-11/near/160502973) |
| 20 | + |
| 21 | +Last week, nikomatsakis did more investigation, taking notes in [this |
| 22 | +dropbox paper document][lnpaper]. In general, it's still not entirely |
| 23 | +clear if the "cycle" that gives rise to the need for lazy |
| 24 | +normalization is something we can easily circumvent. One thing is that |
| 25 | +the `generics_of` and other queries for "anonymous constants" |
| 26 | +currently use the incorrect parent def-id precisely to avoid a cycle, |
| 27 | +so it's hard to see how the cycle would manifest. |
| 28 | + |
| 29 | +[lnpaper]: https://paper.dropbox.com/doc/Lazy-normalization-Ryv4YfpIcGAl6R3ZtWrWs |
| 30 | + |
| 31 | +**Next step:** re-establish the cycle in those queries so it can be observed. |
| 32 | + |
| 33 | +### GATs |
| 34 | + |
| 35 | +[Link](https://rust-lang.zulipchat.com/#narrow/stream/144729-t-compiler.2Fwg-traits/topic/weeky.20meeting.202019-03-11/near/160503327) |
| 36 | + |
| 37 | +centril + aturon drew up a [paper document containing GAT use |
| 38 | +casts][gat] and there are some notes from the conversation in [this |
| 39 | +Zulip thread][gatthread]. |
| 40 | + |
| 41 | +**Next step:** unclear, but probably to investigate the use cases and |
| 42 | +make some comments. |
| 43 | + |
| 44 | +[gat]: https://paper.dropbox.com/doc/GAT-use-case-analysis--AY1Ck74Fgk1Ztq1kHrethI8BAg-xFJQMxHXTOUekCyweukU1 |
| 45 | +[gatthread]: https://rust-lang.zulipchat.com/#narrow/stream/144729-t-compiler.2Fwg-traits/topic/GAT.20use-case.20analysis |
| 46 | + |
| 47 | +### Integrating into RLS 2.0 |
| 48 | + |
| 49 | +[Link](https://rust-lang.zulipchat.com/#narrow/stream/144729-t-compiler.2Fwg-traits/topic/weeky.20meeting.202019-03-11/near/160503711) |
| 50 | + |
| 51 | +We had a chat ([with |
| 52 | +video](https://www.youtube.com/watch?v=Lmp3P9WNL8o)) about how the RLS |
| 53 | +2.0 type checker works. We decided we'd rather try to do the chalk |
| 54 | +integration into RLS 2.0 "correct", meaning that we can share a lot |
| 55 | +more code with chalk. |
| 56 | + |
| 57 | +**Next step:** nikomatsakis to schedule some time to sketch out what chalk integration would look like. |
| 58 | + |
| 59 | +### Other chalk improvements |
| 60 | + |
| 61 | +> Maybe discuss other chalk improvements? (e.g., benchmarking harness) (nikomatsakis) |
| 62 | +
|
| 63 | +This didn't happen and we'll probably shelve it for now in favor of the previous point. |
| 64 | + |
| 65 | +### "lifetime capture" |
| 66 | + |
| 67 | +> Maybe discuss the "lifetime capture" problem in impl Trait? |
| 68 | +
|
| 69 | +This didn't happen and we'll probably shelve it for now in favor of the next point. |
| 70 | + |
| 71 | +### Draft RFCs |
| 72 | + |
| 73 | +centril plans to (at minimum) upload some draft RFCs to a new wg-traits repository. |
| 74 | + |
| 75 | +### Associated type bounds |
| 76 | + |
| 77 | +alexreg has been working on associated type bounds in [this Zulip |
| 78 | +thread][atb] and will likely continue to do so. |
| 79 | + |
| 80 | +[atb]: https://rust-lang.zulipchat.com/#narrow/stream/144729-t-compiler.2Fwg-traits/topic/associate.20type.20bounds |
| 81 | + |
| 82 | + |
| 83 | +## Plans for the coming week |
| 84 | + |
| 85 | +- Try to correct the `generics_of` query etc for constants so we can |
| 86 | + observe what results. |
| 87 | + - **Help wanted!** nikomatsakis is looking for somebody to work on some of this |
| 88 | + coding. |
| 89 | +- Read-over GAT use cases and try to theorize about what it would take to |
| 90 | + support them in rustc etc (nikomatsakis) |
| 91 | +- Schedule a call to talk over what chalk integration into RLS 2.0 might look like (nikomatsakis) |
| 92 | +- Create a wg-traits repository to house draft RFCs and the like. (nikomatsakis) |
| 93 | +- Upload drafts of various traits-related RFCs to wg-traits (centril) |
| 94 | +- Continue work on associated type bounds (alexreg) |
0 commit comments