Rollup merge of #63285 - Mark-Simulacrum:rm-await-origin, r=Centril

Remove leftover AwaitOrigin

This was missed in PR #62293.
This commit is contained in:
Mazdak Farrokhzad 2019-08-06 08:17:44 +02:00 committed by GitHub
commit 2301ecd429
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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