#![allow(elided_lifetimes_in_paths)] doesn't work in submodules #74463
Labels
A-edition-2018
Area: The 2018 edition
A-lifetimes
Area: Lifetimes / regions
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-bug
Category: This is a bug.
Given code such as:
When compiled this generates a warning:
I'm not entirely sure why the directives inside
mod foo
aren't taking effect. The crate-level ones do take effect, as can be seen with:(no warnings)
The text was updated successfully, but these errors were encountered: