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 authored Aug 5, 2019
2 parents 8a2f612 + fbf93d4 commit cfc95ed
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 cfc95ed

Please sign in to comment.