Remove leftover AwaitOrigin

This was missed in PR #62293.
This commit is contained in:
Mark Rousskov 2019-08-05 09:14:51 -04:00
parent 4be0675589
commit fbf93d4931

View file

@ -1284,15 +1284,6 @@ pub enum Movability {
Movable,
}
/// Whether an `await` comes from `await!` or `.await` syntax.
/// FIXME: this should be removed when support for legacy `await!` is removed.
/// https://github.com/rust-lang/rust/issues/60610
#[derive(Clone, PartialEq, RustcEncodable, RustcDecodable, Debug, Copy)]
pub enum AwaitOrigin {
FieldLike,
MacroLike,
}
pub type Mac = Spanned<Mac_>;
/// Represents a macro invocation. The `Path` indicates which macro