File tree Expand file tree Collapse file tree 6 files changed +4
-493
lines changed Expand file tree Collapse file tree 6 files changed +4
-493
lines changed Original file line number Diff line number Diff line change @@ -2279,8 +2279,6 @@ These types help drive the compiler's analysis
2279
2279
: The lifetime parameter should be considered invariant
2280
2280
* ` malloc `
2281
2281
: Allocate memory on the managed heap.
2282
- * ` opaque `
2283
- : ___ Needs filling in___
2284
2282
* ` owned_box `
2285
2283
: ___ Needs filling in___
2286
2284
* ` stack_exhausted `
@@ -2295,8 +2293,6 @@ These types help drive the compiler's analysis
2295
2293
: The type parameter should be considered invariant
2296
2294
* ` ty_desc `
2297
2295
: ___ Needs filling in___
2298
- * ` ty_visitor `
2299
- : ___ Needs filling in___
2300
2296
2301
2297
> ** Note:** This list is likely to become out of date. We should auto-generate
2302
2298
> it from ` librustc/middle/lang_items.rs ` .
Original file line number Diff line number Diff line change @@ -65,11 +65,14 @@ pub struct TyDesc {
65
65
pub name : & ' static str ,
66
66
}
67
67
68
+ #[ cfg( stage0) ]
68
69
#[ lang="opaque" ]
69
70
pub enum Opaque { }
70
71
72
+ #[ cfg( stage0) ]
71
73
pub type Disr = u64 ;
72
74
75
+ #[ cfg( stage0) ]
73
76
#[ lang="ty_visitor" ]
74
77
pub trait TyVisitor {
75
78
fn visit_bot ( & mut self ) -> bool ;
Original file line number Diff line number Diff line change @@ -284,7 +284,6 @@ lets_do_this! {
284
284
StartFnLangItem , "start" , start_fn;
285
285
286
286
TyDescStructLangItem , "ty_desc" , ty_desc;
287
- TyVisitorTraitLangItem , "ty_visitor" , ty_visitor;
288
287
OpaqueStructLangItem , "opaque" , opaque;
289
288
290
289
TypeIdLangItem , "type_id" , type_id;
Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ pub mod cabi_arm;
36
36
pub mod cabi_mips;
37
37
pub mod foreign;
38
38
pub mod intrinsic;
39
- pub mod reflect;
40
39
pub mod debuginfo;
41
40
pub mod machine;
42
41
pub mod adt;
You can’t perform that action at this time.
0 commit comments