@@ -70,7 +70,7 @@ pub mod point {
70
70
pub mod fn_with_type_in_sig {
71
71
use point:: Point ;
72
72
73
- #[ rustc_dirty( label="TypeckTables " , cfg="cfail2" ) ]
73
+ #[ rustc_dirty( label="typeck_tables_of " , cfg="cfail2" ) ]
74
74
pub fn boop ( p : Option < & Point > ) -> f32 {
75
75
p. map ( |p| p. total ( ) ) . unwrap_or ( 0.0 )
76
76
}
@@ -86,7 +86,7 @@ pub mod fn_with_type_in_sig {
86
86
pub mod call_fn_with_type_in_sig {
87
87
use fn_with_type_in_sig;
88
88
89
- #[ rustc_dirty( label="TypeckTables " , cfg="cfail2" ) ]
89
+ #[ rustc_dirty( label="typeck_tables_of " , cfg="cfail2" ) ]
90
90
pub fn bip ( ) -> f32 {
91
91
fn_with_type_in_sig:: boop ( None )
92
92
}
@@ -102,7 +102,7 @@ pub mod call_fn_with_type_in_sig {
102
102
pub mod fn_with_type_in_body {
103
103
use point:: Point ;
104
104
105
- #[ rustc_dirty( label="TypeckTables " , cfg="cfail2" ) ]
105
+ #[ rustc_dirty( label="typeck_tables_of " , cfg="cfail2" ) ]
106
106
pub fn boop ( ) -> f32 {
107
107
Point :: origin ( ) . total ( )
108
108
}
@@ -115,7 +115,7 @@ pub mod fn_with_type_in_body {
115
115
pub mod call_fn_with_type_in_body {
116
116
use fn_with_type_in_body;
117
117
118
- #[ rustc_clean( label="TypeckTables " , cfg="cfail2" ) ]
118
+ #[ rustc_clean( label="typeck_tables_of " , cfg="cfail2" ) ]
119
119
pub fn bip ( ) -> f32 {
120
120
fn_with_type_in_body:: boop ( )
121
121
}
@@ -125,7 +125,7 @@ pub mod call_fn_with_type_in_body {
125
125
pub mod fn_make_struct {
126
126
use point:: Point ;
127
127
128
- #[ rustc_dirty( label="TypeckTables " , cfg="cfail2" ) ]
128
+ #[ rustc_dirty( label="typeck_tables_of " , cfg="cfail2" ) ]
129
129
pub fn make_origin ( p : Point ) -> Point {
130
130
Point { ..p }
131
131
}
@@ -135,7 +135,7 @@ pub mod fn_make_struct {
135
135
pub mod fn_read_field {
136
136
use point:: Point ;
137
137
138
- #[ rustc_dirty( label="TypeckTables " , cfg="cfail2" ) ]
138
+ #[ rustc_dirty( label="typeck_tables_of " , cfg="cfail2" ) ]
139
139
pub fn get_x ( p : Point ) -> f32 {
140
140
p. x
141
141
}
@@ -145,7 +145,7 @@ pub mod fn_read_field {
145
145
pub mod fn_write_field {
146
146
use point:: Point ;
147
147
148
- #[ rustc_dirty( label="TypeckTables " , cfg="cfail2" ) ]
148
+ #[ rustc_dirty( label="typeck_tables_of " , cfg="cfail2" ) ]
149
149
pub fn inc_x ( p : & mut Point ) {
150
150
p. x += 1.0 ;
151
151
}
0 commit comments