1
Fork 0

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:
bors 2023-06-07 09:03:33 +00:00
commit e94bda3bf1
8 changed files with 100 additions and 44 deletions

View file

@ -116,7 +116,6 @@ pub enum ConstVariableOriginKind {
MiscVariable,
ConstInference,
ConstParameterDefinition(Symbol, DefId),
SubstitutionPlaceholder,
}
#[derive(Copy, Clone, Debug)]