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