Skip to content

Commit

Permalink
Rollup merge of rust-lang#63285 - Mark-Simulacrum:rm-await-origin, r=…
Browse files Browse the repository at this point in the history
…Centril

Remove leftover AwaitOrigin

This was missed in PR rust-lang#62293.
  • Loading branch information
Centril committed Aug 6, 2019
2 parents b2603d6 + fbf93d4 commit 2301ecd
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/libsyntax/ast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2301ecd

Please sign in to comment.