diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2015-08-13 10:57:34 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2015-08-14 20:07:55 -0400 |
| commit | 8a6118b74840727e17ec42b0aa6d7a215d57d2df (patch) | |
| tree | cc3c3223c8e02f6c3248562695d6216bfb684f47 /src/libsyntax/ast.rs | |
| parent | c1e865c9df3c6928525025e410fc3d165fb97c85 (diff) | |
| download | rust-8a6118b74840727e17ec42b0aa6d7a215d57d2df.tar.gz rust-8a6118b74840727e17ec42b0aa6d7a215d57d2df.zip | |
move InlinedItem into librustc, where it belongs
Diffstat (limited to 'src/libsyntax/ast.rs')
| -rw-r--r-- | src/libsyntax/ast.rs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs index 08c6dcc7f87..0bcd97cfe87 100644 --- a/src/libsyntax/ast.rs +++ b/src/libsyntax/ast.rs @@ -23,7 +23,6 @@ pub use self::FloatTy::*; pub use self::FunctionRetTy::*; pub use self::ForeignItem_::*; pub use self::ImplItem_::*; -pub use self::InlinedItem::*; pub use self::IntTy::*; pub use self::Item_::*; pub use self::KleeneOp::*; @@ -1925,17 +1924,6 @@ impl ForeignItem_ { } } -/// The data we save and restore about an inlined item or method. This is not -/// part of the AST that we parse from a file, but it becomes part of the tree -/// that we trans. -#[derive(Clone, PartialEq, Eq, RustcEncodable, RustcDecodable, Hash, Debug)] -pub enum InlinedItem { - IIItem(P<Item>), - IITraitItem(DefId /* impl id */, P<TraitItem>), - IIImplItem(DefId /* impl id */, P<ImplItem>), - IIForeign(P<ForeignItem>), -} - /// A macro definition, in this crate or imported from another. /// /// Not parsed directly, but created on macro import or `macro_rules!` expansion. |
