File tree 1 file changed +0
-16
lines changed
src/librustc/middle/trans
1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -1020,22 +1020,6 @@ pub fn T_chan(cx: @CrateContext, _t: TypeRef) -> TypeRef {
1020
1020
pub fn T_taskptr ( cx : @CrateContext ) -> TypeRef { return T_ptr ( cx. task_type ) ; }
1021
1021
1022
1022
1023
- // This type must never be used directly; it must always be cast away.
1024
- pub fn T_typaram ( tn : @TypeNames ) -> TypeRef {
1025
- let s = @"typaram";
1026
- match name_has_type ( tn, s) {
1027
- Some ( t) => return t,
1028
- _ => ( )
1029
- }
1030
- let t = T_i8 ( ) ;
1031
- associate_type ( tn, s, t) ;
1032
- return t;
1033
- }
1034
-
1035
- pub fn T_typaram_ptr ( tn : @TypeNames ) -> TypeRef {
1036
- return T_ptr ( T_typaram ( tn) ) ;
1037
- }
1038
-
1039
1023
pub fn T_opaque_cbox_ptr ( cx : @CrateContext ) -> TypeRef {
1040
1024
// closures look like boxes (even when they are fn~ or fn&)
1041
1025
// see trans_closure.rs
You can’t perform that action at this time.
0 commit comments