Auto merge of #111047 - compiler-errors:rtn-no-ty-ct-params, r=spastorino
Emit an error when return-type-notation is used with type/const params These are not intended to be supported initially, even though the compiler supports them internally...
This commit is contained in:
commit
e94bda3bf1
8 changed files with 100 additions and 44 deletions
|
@ -129,7 +129,6 @@ pub enum TypeVariableOriginKind {
|
|||
/// (before it has been determined).
|
||||
// FIXME(eddyb) distinguish upvar inference variables from the rest.
|
||||
ClosureSynthetic,
|
||||
SubstitutionPlaceholder,
|
||||
AutoDeref,
|
||||
AdjustmentType,
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue