Fix CI
This commit is contained in:
parent
7dd28181e2
commit
e331de149f
2 changed files with 2 additions and 7 deletions
|
|
@ -209,7 +209,7 @@ pub fn add_feature_diagnostics_for_issue<G: EmissionGuarantee>(
|
|||
/// This is basically the same as `feature_err_issue`
|
||||
/// but without the feature issue note. If we can do a lookup for issue number from feature name,
|
||||
/// then we should directly use `feature_err_issue` for ambiguity error of
|
||||
/// #[unstable_feature_bound].
|
||||
/// `#[unstable_feature_bound]`.
|
||||
#[track_caller]
|
||||
pub fn feature_err_unstable_feature_bound(
|
||||
sess: &Session,
|
||||
|
|
|
|||
|
|
@ -319,11 +319,6 @@ where
|
|||
// Note: `feature_bound_holds_in_crate` does not consider a feature to be enabled
|
||||
// if we are in std/core even if there is a corresponding `feature` attribute on the crate.
|
||||
|
||||
if (infcx.typing_mode() == TypingMode::PostAnalysis)
|
||||
(infcx.typing_mode() == TypingMode::PostAnalysis)
|
||||
|| infcx.cx().features().feature_bound_holds_in_crate(symbol)
|
||||
{
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue