2014-02-10 08:36:31 -06:00
|
|
|
// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
|
2012-12-03 18:48:01 -06:00
|
|
|
// file at the top-level directory of this distribution and at
|
|
|
|
// http://rust-lang.org/COPYRIGHT.
|
|
|
|
//
|
|
|
|
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
|
|
|
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
|
|
|
// option. This file may not be copied, modified, or distributed
|
|
|
|
// except according to those terms.
|
2013-12-09 15:56:53 -06:00
|
|
|
|
2014-10-27 17:37:07 -05:00
|
|
|
#![allow(non_camel_case_types, non_upper_case_globals)]
|
2014-02-10 08:36:31 -06:00
|
|
|
|
2014-11-06 02:05:53 -06:00
|
|
|
pub use self::astencode_tag::*;
|
|
|
|
|
core: Remove the cast module
This commit revisits the `cast` module in libcore and libstd, and scrutinizes
all functions inside of it. The result was to remove the `cast` module entirely,
folding all functionality into the `mem` module. Specifically, this is the fate
of each function in the `cast` module.
* transmute - This function was moved to `mem`, but it is now marked as
#[unstable]. This is due to planned changes to the `transmute`
function and how it can be invoked (see the #[unstable] comment).
For more information, see RFC 5 and #12898
* transmute_copy - This function was moved to `mem`, with clarification that is
is not an error to invoke it with T/U that are different
sizes, but rather that it is strongly discouraged. This
function is now #[stable]
* forget - This function was moved to `mem` and marked #[stable]
* bump_box_refcount - This function was removed due to the deprecation of
managed boxes as well as its questionable utility.
* transmute_mut - This function was previously deprecated, and removed as part
of this commit.
* transmute_mut_unsafe - This function doesn't serve much of a purpose when it
can be achieved with an `as` in safe code, so it was
removed.
* transmute_lifetime - This function was removed because it is likely a strong
indication that code is incorrect in the first place.
* transmute_mut_lifetime - This function was removed for the same reasons as
`transmute_lifetime`
* copy_lifetime - This function was moved to `mem`, but it is marked
`#[unstable]` now due to the likelihood of being removed in
the future if it is found to not be very useful.
* copy_mut_lifetime - This function was also moved to `mem`, but had the same
treatment as `copy_lifetime`.
* copy_lifetime_vec - This function was removed because it is not used today,
and its existence is not necessary with DST
(copy_lifetime will suffice).
In summary, the cast module was stripped down to these functions, and then the
functions were moved to the `mem` module.
transmute - #[unstable]
transmute_copy - #[stable]
forget - #[stable]
copy_lifetime - #[unstable]
copy_mut_lifetime - #[unstable]
[breaking-change]
2014-05-09 12:34:51 -05:00
|
|
|
use std::mem;
|
2014-02-24 21:45:20 -06:00
|
|
|
use back::svh::Svh;
|
2013-01-07 16:16:52 -06:00
|
|
|
|
2012-01-19 16:24:03 -06:00
|
|
|
// EBML enum definitions and utils shared by the encoder and decoder
|
2011-07-07 14:22:39 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_items: uint = 0x00;
|
2011-06-27 16:54:59 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_paths_data_name: uint = 0x01;
|
2011-06-27 16:54:59 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_def_id: uint = 0x02;
|
2011-06-27 16:54:59 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_items_data: uint = 0x03;
|
2011-06-27 16:54:59 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_items_data_item: uint = 0x04;
|
2011-06-27 16:54:59 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_items_data_item_family: uint = 0x05;
|
2011-06-27 16:54:59 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_items_data_item_type: uint = 0x07;
|
2011-06-27 16:54:59 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_items_data_item_symbol: uint = 0x08;
|
2011-06-27 16:54:59 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_items_data_item_variant: uint = 0x09;
|
2011-06-27 16:54:59 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_items_data_parent_item: uint = 0x0a;
|
2011-06-27 16:54:59 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_items_data_item_is_tuple_struct_ctor: uint = 0x0b;
|
2014-01-30 06:36:05 -06:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_index: uint = 0x0c;
|
2011-06-27 16:54:59 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_index_buckets: uint = 0x0d;
|
2011-06-27 16:54:59 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_index_buckets_bucket: uint = 0x0e;
|
2011-06-27 16:54:59 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_index_buckets_bucket_elt: uint = 0x0f;
|
2011-06-27 16:54:59 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_index_table: uint = 0x10;
|
2011-06-27 16:54:59 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_meta_item_name_value: uint = 0x11;
|
2011-06-27 16:54:59 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_meta_item_name: uint = 0x12;
|
2011-06-27 16:54:59 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_meta_item_value: uint = 0x13;
|
2011-06-27 21:41:48 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_attributes: uint = 0x14;
|
2011-06-27 21:41:48 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_attribute: uint = 0x15;
|
2011-06-27 21:41:48 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_meta_item_word: uint = 0x16;
|
2011-06-28 01:02:02 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_meta_item_list: uint = 0x17;
|
2011-07-07 14:22:39 -05:00
|
|
|
|
2011-07-08 13:29:56 -05:00
|
|
|
// The list of crates that this crate depends on
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_crate_deps: uint = 0x18;
|
2011-07-08 13:29:56 -05:00
|
|
|
|
|
|
|
// A single crate dependency
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_crate_dep: uint = 0x19;
|
2011-07-08 13:29:56 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_crate_hash: uint = 0x1a;
|
|
|
|
pub const tag_crate_crate_name: uint = 0x1b;
|
2011-12-11 09:23:38 -06:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_crate_dep_crate_name: uint = 0x1d;
|
|
|
|
pub const tag_crate_dep_hash: uint = 0x1e;
|
2012-04-07 12:59:37 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_mod_impl: uint = 0x1f;
|
2011-12-16 07:17:52 -06:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_item_trait_item: uint = 0x20;
|
2013-03-27 05:16:28 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_item_trait_ref: uint = 0x21;
|
|
|
|
pub const tag_item_super_trait_ref: uint = 0x22;
|
2011-12-16 07:17:52 -06:00
|
|
|
|
2012-01-10 15:50:40 -06:00
|
|
|
// discriminator value for variants
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_disr_val: uint = 0x23;
|
2014-02-13 23:07:09 -06:00
|
|
|
|
|
|
|
// used to encode ast_map::PathElem
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_path: uint = 0x24;
|
|
|
|
pub const tag_path_len: uint = 0x25;
|
|
|
|
pub const tag_path_elem_mod: uint = 0x26;
|
|
|
|
pub const tag_path_elem_name: uint = 0x27;
|
|
|
|
pub const tag_item_field: uint = 0x28;
|
|
|
|
pub const tag_item_field_origin: uint = 0x29;
|
|
|
|
|
|
|
|
pub const tag_item_variances: uint = 0x2a;
|
2012-04-26 14:15:46 -05:00
|
|
|
/*
|
2014-08-04 15:56:56 -05:00
|
|
|
trait items contain tag_item_trait_item elements,
|
|
|
|
impl items contain tag_item_impl_item elements, and classes
|
2012-07-03 18:30:42 -05:00
|
|
|
have both. That's because some code treats classes like traits,
|
2012-04-26 14:15:46 -05:00
|
|
|
and other code treats them like impls. Because classes can contain
|
2014-08-04 15:56:56 -05:00
|
|
|
both, tag_item_trait_item and tag_item_impl_item have to be two
|
2012-04-26 14:15:46 -05:00
|
|
|
different tags.
|
|
|
|
*/
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_item_impl_item: uint = 0x30;
|
|
|
|
pub const tag_item_trait_method_explicit_self: uint = 0x31;
|
2012-04-18 23:26:25 -05:00
|
|
|
|
2013-03-27 09:26:57 -05:00
|
|
|
|
2012-08-17 14:41:34 -05:00
|
|
|
// Reexports are found within module tags. Each reexport contains def_ids
|
|
|
|
// and names.
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_items_data_item_reexport: uint = 0x38;
|
|
|
|
pub const tag_items_data_item_reexport_def_id: uint = 0x39;
|
|
|
|
pub const tag_items_data_item_reexport_name: uint = 0x3a;
|
2012-08-17 14:41:34 -05:00
|
|
|
|
2012-02-14 17:21:53 -06:00
|
|
|
// used to encode crate_ctxt side tables
|
2015-01-03 21:54:18 -06:00
|
|
|
#[derive(Copy, PartialEq)]
|
2013-09-25 11:41:10 -05:00
|
|
|
#[repr(uint)]
|
2014-02-24 01:17:02 -06:00
|
|
|
pub enum astencode_tag { // Reserves 0x40 -- 0x5f
|
|
|
|
tag_ast = 0x40,
|
|
|
|
|
|
|
|
tag_tree = 0x41,
|
|
|
|
|
|
|
|
tag_id_range = 0x42,
|
|
|
|
|
|
|
|
tag_table = 0x43,
|
|
|
|
tag_table_id = 0x44,
|
|
|
|
tag_table_val = 0x45,
|
|
|
|
tag_table_def = 0x46,
|
|
|
|
tag_table_node_type = 0x47,
|
2014-05-07 06:20:15 -05:00
|
|
|
tag_table_item_subst = 0x48,
|
2014-02-24 01:17:02 -06:00
|
|
|
tag_table_freevars = 0x49,
|
|
|
|
tag_table_tcache = 0x4a,
|
|
|
|
tag_table_param_defs = 0x4b,
|
|
|
|
tag_table_mutbl = 0x4c,
|
|
|
|
tag_table_last_use = 0x4d,
|
|
|
|
tag_table_spill = 0x4e,
|
|
|
|
tag_table_method_map = 0x4f,
|
|
|
|
tag_table_vtable_map = 0x50,
|
|
|
|
tag_table_adjustments = 0x51,
|
|
|
|
tag_table_moves_map = 0x52,
|
2014-05-29 00:26:56 -05:00
|
|
|
tag_table_capture_map = 0x53,
|
2015-01-24 14:00:03 -06:00
|
|
|
tag_table_closures = 0x54,
|
2014-08-04 20:58:48 -05:00
|
|
|
tag_table_upvar_borrow_map = 0x55,
|
2014-07-23 14:43:29 -05:00
|
|
|
tag_table_capture_modes = 0x56,
|
2014-09-12 10:42:58 -05:00
|
|
|
tag_table_object_cast_map = 0x57,
|
2012-02-14 17:21:53 -06:00
|
|
|
}
|
librustc: Make `Copy` opt-in.
This change makes the compiler no longer infer whether types (structures
and enumerations) implement the `Copy` trait (and thus are implicitly
copyable). Rather, you must implement `Copy` yourself via `impl Copy for
MyType {}`.
A new warning has been added, `missing_copy_implementations`, to warn
you if a non-generic public type has been added that could have
implemented `Copy` but didn't.
For convenience, you may *temporarily* opt out of this behavior by using
`#![feature(opt_out_copy)]`. Note though that this feature gate will never be
accepted and will be removed by the time that 1.0 is released, so you should
transition your code away from using it.
This breaks code like:
#[deriving(Show)]
struct Point2D {
x: int,
y: int,
}
fn main() {
let mypoint = Point2D {
x: 1,
y: 1,
};
let otherpoint = mypoint;
println!("{}{}", mypoint, otherpoint);
}
Change this code to:
#[deriving(Show)]
struct Point2D {
x: int,
y: int,
}
impl Copy for Point2D {}
fn main() {
let mypoint = Point2D {
x: 1,
y: 1,
};
let otherpoint = mypoint;
println!("{}{}", mypoint, otherpoint);
}
This is the backwards-incompatible part of #13231.
Part of RFC #3.
[breaking-change]
2014-12-05 19:01:33 -06:00
|
|
|
|
2014-02-13 23:07:09 -06:00
|
|
|
static first_astencode_tag: uint = tag_ast as uint;
|
2014-09-12 10:42:58 -05:00
|
|
|
static last_astencode_tag: uint = tag_table_object_cast_map as uint;
|
2013-06-22 20:58:41 -05:00
|
|
|
impl astencode_tag {
|
|
|
|
pub fn from_uint(value : uint) -> Option<astencode_tag> {
|
|
|
|
let is_a_tag = first_astencode_tag <= value && value <= last_astencode_tag;
|
|
|
|
if !is_a_tag { None } else {
|
2014-10-25 14:27:15 -05:00
|
|
|
Some(unsafe { mem::transmute::<uint, astencode_tag>(value) })
|
2013-06-22 20:58:41 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2012-02-10 08:01:32 -06:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_item_trait_item_sort: uint = 0x60;
|
2012-10-08 14:39:30 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_item_trait_parent_sort: uint = 0x61;
|
2014-08-04 15:56:56 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_item_impl_type_basename: uint = 0x62;
|
2012-10-18 15:29:34 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_crate_triple: uint = 0x66;
|
2014-05-29 00:26:56 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_dylib_dependency_formats: uint = 0x67;
|
2014-05-29 00:26:56 -05:00
|
|
|
|
2013-01-07 12:51:53 -06:00
|
|
|
// Language items are a top-level directory (for speed). Hierarchy:
|
|
|
|
//
|
|
|
|
// tag_lang_items
|
|
|
|
// - tag_lang_items_item
|
|
|
|
// - tag_lang_items_item_id: u32
|
|
|
|
// - tag_lang_items_item_node_id: u32
|
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_lang_items: uint = 0x70;
|
|
|
|
pub const tag_lang_items_item: uint = 0x71;
|
|
|
|
pub const tag_lang_items_item_id: uint = 0x72;
|
|
|
|
pub const tag_lang_items_item_node_id: uint = 0x73;
|
|
|
|
pub const tag_lang_items_missing: uint = 0x74;
|
2013-01-07 12:51:53 -06:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_item_unnamed_field: uint = 0x75;
|
|
|
|
pub const tag_items_data_item_visibility: uint = 0x76;
|
2013-02-11 18:28:39 -06:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_item_method_tps: uint = 0x79;
|
|
|
|
pub const tag_item_method_fty: uint = 0x7a;
|
2013-03-27 09:26:57 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_mod_child: uint = 0x7b;
|
|
|
|
pub const tag_misc_info: uint = 0x7c;
|
|
|
|
pub const tag_misc_info_crate_items: uint = 0x7d;
|
2013-06-18 11:39:16 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_item_method_provided_source: uint = 0x7e;
|
|
|
|
pub const tag_item_impl_vtables: uint = 0x7f;
|
2013-07-16 18:28:33 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_impls: uint = 0x80;
|
|
|
|
pub const tag_impls_impl: uint = 0x81;
|
2013-08-20 16:55:54 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_items_data_item_inherent_impl: uint = 0x82;
|
|
|
|
pub const tag_items_data_item_extension_impl: uint = 0x83;
|
2013-08-23 16:34:00 -05:00
|
|
|
|
2014-05-31 17:53:13 -05:00
|
|
|
// GAP 0x84, 0x85, 0x86
|
2013-08-30 02:47:10 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_native_libraries: uint = 0x87;
|
|
|
|
pub const tag_native_libraries_lib: uint = 0x88;
|
|
|
|
pub const tag_native_libraries_name: uint = 0x89;
|
|
|
|
pub const tag_native_libraries_kind: uint = 0x8a;
|
2013-10-29 05:03:32 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_plugin_registrar_fn: uint = 0x8b;
|
2014-12-30 21:10:46 -06:00
|
|
|
|
|
|
|
// GAP 0x8c, 0x8d
|
2013-12-25 12:10:33 -06:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_method_argument_names: uint = 0x8e;
|
|
|
|
pub const tag_method_argument_name: uint = 0x8f;
|
2014-05-23 19:13:44 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_reachable_extern_fns: uint = 0x90;
|
|
|
|
pub const tag_reachable_extern_fn_id: uint = 0x91;
|
2014-06-06 19:48:46 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_items_data_item_stability: uint = 0x92;
|
Add stability inheritance
This commit makes several changes to the stability index infrastructure:
* Stability levels are now inherited lexically, i.e., each item's
stability level becomes the default for any nested items.
* The computed stability level for an item is stored as part of the
metadata. When using an item from an external crate, this data is
looked up and cached.
* The stability lint works from the computed stability level, rather
than manual stability attribute annotations. However, the lint still
checks only a limited set of item uses (e.g., it does not check every
component of a path on import). This will be addressed in a later PR,
as part of issue #8962.
* The stability lint only applies to items originating from external
crates, since the stability index is intended as a promise to
downstream crates.
* The "experimental" lint is now _allow_ by default. This is because
almost all existing crates have been marked "experimental", pending
library stabilization. With inheritance in place, this would generate
a massive explosion of warnings for every Rust program.
The lint should be changed back to deny-by-default after library
stabilization is complete.
* The "deprecated" lint still warns by default.
The net result: we can begin tracking stability index for the standard
libraries as we stabilize, without impacting most clients.
Closes #13540.
2014-06-11 19:23:11 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_items_data_item_repr: uint = 0x93;
|
2014-09-29 23:52:06 -05:00
|
|
|
|
2015-01-03 21:54:18 -06:00
|
|
|
#[derive(Clone, Show)]
|
2013-02-19 01:40:42 -06:00
|
|
|
pub struct LinkMeta {
|
2014-06-06 15:21:18 -05:00
|
|
|
pub crate_name: String,
|
2014-03-28 12:05:27 -05:00
|
|
|
pub crate_hash: Svh,
|
2013-02-19 01:40:42 -06:00
|
|
|
}
|
2014-05-31 17:53:13 -05:00
|
|
|
|
2015-01-24 14:00:03 -06:00
|
|
|
pub const tag_closures: uint = 0x95;
|
|
|
|
pub const tag_closure: uint = 0x96;
|
|
|
|
pub const tag_closure_type: uint = 0x97;
|
|
|
|
pub const tag_closure_kind: uint = 0x98;
|
2014-07-26 15:21:36 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_struct_fields: uint = 0x99;
|
|
|
|
pub const tag_struct_field: uint = 0x9a;
|
|
|
|
pub const tag_struct_field_id: uint = 0x9b;
|
2014-07-30 00:08:39 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_attribute_is_sugared_doc: uint = 0x9c;
|
2014-07-28 03:02:31 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_trait_def_bounds: uint = 0x9d;
|
2014-08-27 20:46:52 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_items_data_region: uint = 0x9e;
|
2014-08-27 20:46:52 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_region_param_def: uint = 0xa0;
|
|
|
|
pub const tag_region_param_def_ident: uint = 0xa1;
|
|
|
|
pub const tag_region_param_def_def_id: uint = 0xa2;
|
|
|
|
pub const tag_region_param_def_space: uint = 0xa3;
|
|
|
|
pub const tag_region_param_def_index: uint = 0xa4;
|
2014-08-27 20:46:52 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_type_param_def: uint = 0xa5;
|
2014-08-27 20:46:52 -05:00
|
|
|
|
2014-10-06 19:30:54 -05:00
|
|
|
pub const tag_item_generics: uint = 0xa6;
|
|
|
|
pub const tag_method_ty_generics: uint = 0xa7;
|
2014-12-07 10:10:48 -06:00
|
|
|
|
|
|
|
pub const tag_predicate: uint = 0xa8;
|
|
|
|
pub const tag_predicate_space: uint = 0xa9;
|
|
|
|
pub const tag_predicate_data: uint = 0xb0;
|
2014-12-09 18:59:20 -06:00
|
|
|
|
|
|
|
pub const tag_unsafety: uint = 0xb1;
|
2014-12-17 13:16:28 -06:00
|
|
|
|
|
|
|
pub const tag_associated_type_names: uint = 0xb2;
|
|
|
|
pub const tag_associated_type_name: uint = 0xb3;
|
2014-12-28 16:33:18 -06:00
|
|
|
|
|
|
|
pub const tag_polarity: uint = 0xb4;
|
2014-12-30 21:10:46 -06:00
|
|
|
|
|
|
|
pub const tag_macro_defs: uint = 0xb5;
|
|
|
|
pub const tag_macro_def: uint = 0xb6;
|
|
|
|
pub const tag_macro_def_body: uint = 0xb7;
|