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 bf02d49 commit 9dc07b0Copy full SHA for 9dc07b0
src/libsyntax/parse/parser/module.rs
@@ -39,6 +39,8 @@ impl<'a> Parser<'a> {
39
/// Parses a `mod <foo> { ... }` or `mod <foo>;` item.
40
pub(super) fn parse_item_mod(&mut self, outer_attrs: &[Attribute]) -> PResult<'a, ItemInfo> {
41
let (in_cfg, outer_attrs) = {
42
+ // FIXME(Centril): This results in a cycle between config and parsing.
43
+ // Consider using dynamic dispatch via `self.sess` to disentangle the knot.
44
let mut strip_unconfigured = crate::config::StripUnconfigured {
45
sess: self.sess,
46
features: None, // Don't perform gated feature checking.
0 commit comments