Skip to content

Commit 2dab187

Browse files
committed
Fix compilation error after rebase.
1 parent dda10f2 commit 2dab187

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/librustc_typeck/collect.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2769,7 +2769,7 @@ fn check_link_ordinal(tcx: TyCtxt<'_>, attr: &ast::Attribute) -> Option<usize> {
27692769
Some([item]) => item.literal(),
27702770
_ => None,
27712771
};
2772-
if let Some(Lit { node: LitKind::Int(ordinal, LitIntType::Unsuffixed), .. }) = sole_meta_list {
2772+
if let Some(Lit { kind: LitKind::Int(ordinal, LitIntType::Unsuffixed), .. }) = sole_meta_list {
27732773
if *ordinal <= std::usize::MAX as u128 {
27742774
Some(*ordinal as usize)
27752775
} else {

src/libsyntax/feature_gate/active.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ declare_features! (
523523
(active, const_extern_fn, "1.40.0", Some(64926), None),
524524

525525
// Allows the use of raw-dylibs (RFC 2627).
526-
(active, raw_dylib, "1.39.0", Some(58713), None),
526+
(active, raw_dylib, "1.40.0", Some(58713), None),
527527

528528
// -------------------------------------------------------------------------
529529
// feature-group-end: actual feature gates

0 commit comments

Comments
 (0)