]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #92118 - jackh726:type-alias-position-error, r=petrochenkov
authorMatthias Krüger <matthias.krueger@famsik.de>
Wed, 29 Dec 2021 09:17:08 +0000 (10:17 +0100)
committerGitHub <noreply@github.com>
Wed, 29 Dec 2021 09:17:08 +0000 (10:17 +0100)
commitbee14712ab2993c0c6a8af9c72dbfa9b149b7f8d
tree610e13cbefe6dfbb2fbb5b9a0e6688acf4172fd1
parente31314307f09cef0989e2e052b1cad75d0a9e723
parent4391a11537ce38c919058c292e91f059d658da94
Rollup merge of #92118 - jackh726:type-alias-position-error, r=petrochenkov

Parse and suggest moving where clauses after equals for type aliases

~Mostly the same as #90076, but doesn't make any syntax changes.~ Whether or not we want to land the syntax changes, we should  parse the invalid where clause position and suggest moving.

r? `@nikomatsakis`
cc `@petrochenkov` you might have thoughts on implementation