1
Fork 0

Remove OpaqueTyOrigin::Misc, use TyAlias instead

This commit is contained in:
Santiago Pastorino 2021-07-14 18:23:36 -03:00
parent d98384595f
commit 000b945cea
No known key found for this signature in database
GPG key ID: 8131A24E0C79EFAF
5 changed files with 6 additions and 9 deletions

View file

@ -2272,8 +2272,6 @@ pub enum OpaqueTyOrigin {
AsyncFn,
/// type aliases: `type Foo = impl Trait;`
TyAlias,
/// Impl trait consts, statics, bounds.
Misc,
}
/// The various kinds of types recognized by the compiler.