mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
parser: leave a FIXME for later
This commit is contained in:
parent
bf02d49e84
commit
9dc07b05d5
@ -39,6 +39,8 @@ impl<'a> Parser<'a> {
|
|||||||
/// Parses a `mod <foo> { ... }` or `mod <foo>;` item.
|
/// Parses a `mod <foo> { ... }` or `mod <foo>;` item.
|
||||||
pub(super) fn parse_item_mod(&mut self, outer_attrs: &[Attribute]) -> PResult<'a, ItemInfo> {
|
pub(super) fn parse_item_mod(&mut self, outer_attrs: &[Attribute]) -> PResult<'a, ItemInfo> {
|
||||||
let (in_cfg, outer_attrs) = {
|
let (in_cfg, outer_attrs) = {
|
||||||
|
// FIXME(Centril): This results in a cycle between config and parsing.
|
||||||
|
// Consider using dynamic dispatch via `self.sess` to disentangle the knot.
|
||||||
let mut strip_unconfigured = crate::config::StripUnconfigured {
|
let mut strip_unconfigured = crate::config::StripUnconfigured {
|
||||||
sess: self.sess,
|
sess: self.sess,
|
||||||
features: None, // Don't perform gated feature checking.
|
features: None, // Don't perform gated feature checking.
|
||||||
|
Loading…
Reference in New Issue
Block a user