We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97b74a8 commit f36d716Copy full SHA for f36d716
compiler/rustc_ast_lowering/src/item.rs
@@ -1637,7 +1637,8 @@ impl<'hir> LoweringContext<'_, 'hir> {
1637
}
1638
err.emit();
1639
1640
- // stability gate even things that are already errored on
+ // Show required feature gate even if we already errored, as the user is likely to build the code
1641
+ // for the actually intended target next and then they will need the feature gate.
1642
gate_unstable_abi(tcx.sess, tcx.features(), span, extern_abi);
1643
extern_abi
1644
0 commit comments