Skip to content

Commit dc8f28f

Browse files
committed
Fix CI
1 parent aa746cb commit dc8f28f

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

compiler/rustc_type_ir/src/infer_ctxt.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -319,11 +319,6 @@ where
319319
// Note: `feature_bound_holds_in_crate` does not consider a feature to be enabled
320320
// if we are in std/core even if there is a corresponding `feature` attribute on the crate.
321321

322-
if (infcx.typing_mode() == TypingMode::PostAnalysis)
322+
(infcx.typing_mode() == TypingMode::PostAnalysis)
323323
|| infcx.cx().features().feature_bound_holds_in_crate(symbol)
324-
{
325-
return true;
326-
} else {
327-
return false;
328-
}
329324
}

0 commit comments

Comments
 (0)