From: kennytm Date: Thu, 16 Aug 2018 16:13:23 +0000 (+0800) Subject: Rollup merge of #53364 - varkor:gat-warn-broken, r=pnkfelix X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=4968eea6395f69df57274deeed473bbed853467b;p=rust.git Rollup merge of #53364 - varkor:gat-warn-broken, r=pnkfelix Warn if the user tries to use GATs GATs are currently broken, but still accessible behind a feature gate. This leads to people attempting to use them and then immediately encountering ICEs (or other broken behaviour). Here, we emit a warning if the user tries to use any feature associated with GATs, hopefully making it obvious that ICEs and the like are expected. For the meantime, this seems better than continually getting reported errors (for example: [here](https://github.com/rust-lang/rust/issues?q=is%3Aissue+gat+is%3Aclosed) and [here](https://github.com/rust-lang/rust/issues?utf8=%E2%9C%93&q=is%3Aissue+generic_associated_types+is%3Aclosed)). --- 4968eea6395f69df57274deeed473bbed853467b