Rename OpaqueTyOrigin
variants
This commit is contained in:
parent
b4fe555796
commit
16033d1e58
3 changed files with 9 additions and 9 deletions
|
@ -1933,9 +1933,9 @@ pub struct OpaqueTy {
|
|||
#[derive(Copy, Clone, RustcEncodable, RustcDecodable, Debug, HashStable)]
|
||||
pub enum OpaqueTyOrigin {
|
||||
/// `type Foo = impl Trait;`
|
||||
TraitAliasImplTrait,
|
||||
TypeAlias,
|
||||
/// `-> impl Trait`
|
||||
ReturnImplTrait,
|
||||
FnReturn,
|
||||
/// `async fn`
|
||||
AsyncFn,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue