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
|
@ -116,7 +116,6 @@ pub enum ConstVariableOriginKind {
|
|||
MiscVariable,
|
||||
ConstInference,
|
||||
ConstParameterDefinition(Symbol, DefId),
|
||||
SubstitutionPlaceholder,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue