diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2015-02-24 09:24:42 -0500 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2015-03-04 15:06:33 -0500 |
| commit | bc9ae36dba3bcacdec98af1495d99593bfc59cac (patch) | |
| tree | 37e98899e1af44a082669ea979b27b610fdf4a24 /src/librustc/metadata/common.rs | |
| parent | 4ee002a17c62d5e8f42b93cb02bb366423492d98 (diff) | |
| download | rust-bc9ae36dba3bcacdec98af1495d99593bfc59cac.tar.gz rust-bc9ae36dba3bcacdec98af1495d99593bfc59cac.zip | |
Separate supertrait collection from processing a `TraitDef`. This allows
us to construct trait-references and do other things without forcing a full evaluation of the supertraits. One downside of this scheme is that we must invoke `ensure_super_predicates` before using any construct that might require knowing about the super-predicates.
Diffstat (limited to 'src/librustc/metadata/common.rs')
| -rw-r--r-- | src/librustc/metadata/common.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/librustc/metadata/common.rs b/src/librustc/metadata/common.rs index b3c1d6cd15f..b28106a72e0 100644 --- a/src/librustc/metadata/common.rs +++ b/src/librustc/metadata/common.rs @@ -84,7 +84,6 @@ pub const tag_mod_impl: uint = 0x38; pub const tag_item_trait_item: uint = 0x39; pub const tag_item_trait_ref: uint = 0x3a; -pub const tag_item_super_trait_ref: uint = 0x3b; // discriminator value for variants pub const tag_disr_val: uint = 0x3c; @@ -221,8 +220,6 @@ pub const tag_struct_field_id: uint = 0x8b; pub const tag_attribute_is_sugared_doc: uint = 0x8c; -pub const tag_trait_def_bounds: uint = 0x8d; - pub const tag_items_data_region: uint = 0x8e; pub const tag_region_param_def: uint = 0x8f; @@ -255,3 +252,5 @@ pub const tag_paren_sugar: uint = 0xa0; pub const tag_codemap: uint = 0xa1; pub const tag_codemap_filemap: uint = 0xa2; + +pub const tag_item_super_predicates: uint = 0xa3; |
