@@ -199,14 +199,13 @@ pub fn eval_config_entry(
199199 sess : & Session ,
200200 cfg_entry : & CfgEntry ,
201201 id : NodeId ,
202- features : Option < & Features > ,
203202 emit_lints : ShouldEmit ,
204203) -> EvalConfigResult {
205204 match cfg_entry {
206205 CfgEntry :: All ( subs, ..) => {
207206 let mut all = None ;
208207 for sub in subs {
209- let res = eval_config_entry ( sess, sub, id, features , emit_lints) ;
208+ let res = eval_config_entry ( sess, sub, id, emit_lints) ;
210209 // We cannot short-circuit because `eval_config_entry` emits some lints
211210 if !res. as_bool ( ) {
212211 all. get_or_insert ( res) ;
@@ -217,7 +216,7 @@ pub fn eval_config_entry(
217216 CfgEntry :: Any ( subs, span) => {
218217 let mut any = None ;
219218 for sub in subs {
220- let res = eval_config_entry ( sess, sub, id, features , emit_lints) ;
219+ let res = eval_config_entry ( sess, sub, id, emit_lints) ;
221220 // We cannot short-circuit because `eval_config_entry` emits some lints
222221 if res. as_bool ( ) {
223222 any. get_or_insert ( res) ;
@@ -229,7 +228,7 @@ pub fn eval_config_entry(
229228 } )
230229 }
231230 CfgEntry :: Not ( sub, span) => {
232- if eval_config_entry ( sess, sub, id, features , emit_lints) . as_bool ( ) {
231+ if eval_config_entry ( sess, sub, id, emit_lints) . as_bool ( ) {
233232 EvalConfigResult :: False { reason : cfg_entry. clone ( ) , reason_span : * span }
234233 } else {
235234 EvalConfigResult :: True
0 commit comments