You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
path attribute is silently accepted and ignored for inline mod items. #13156
I don't know if this is considered a bug or a feature, but we should probably emit a warning when we encounter that useless path attribute attached to q above.
Activity
gkoz commentedon Feb 2, 2016
Doesn't seem useless to me. The reference gives this seemingly reasonable example:
Now suppose you're in a build script and want to include
src/tls.rs. Is there a better way thanMark-Simulacrum commentedon May 30, 2017
Yeah, to my knowledge this is expected and intentional behavior; closing.
Auto merge of rust-lang#13156 - Veykril:macro-stmts, r=Veykril
Auto merge of rust-lang#13156 - y21:for_each_expr_visitor_refactor, r…
#[path = "..."]to a inline module #133907 as a duplicate of this issue