Commit Graph

3 Commits

Author SHA1 Message Date
varkor c28ce3e4ca Replace "existential" by "opaque" 2019-08-02 02:44:36 +01:00
varkor fc48541ab1 Update syntax in existing tests 2019-08-02 02:44:35 +01:00
David Wood de8660ab61
typeck: merge opaque type inference logic
This commit merges the logic used for opaque type type inference for
impl Trait and non-impl Trait cases. This fixes an ICE where
existential types used in the return types of functions would be allowed
to have an out-of-scope generic type parameter.
2019-07-03 08:32:09 +01:00