-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Open
Labels
A-macrosArea: All kinds of macros (custom derive, macro_rules!, proc macros, ..)Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)C-bugCategory: This is a bug.Category: This is a bug.I-needs-decisionIssue: In need of a decision.Issue: In need of a decision.T-langRelevant to the language teamRelevant to the language team
Description
a.rs
fn main() {
include!("b.rs")
}
b.rs
fn b() {}
rustc 1.18.0-nightly (2bd4b5c 2017-04-23)
error: expected expression, found keyword `fn`
--> b.rs:1:1
|
1 | fn b(){}
| ^^
RReverser, captain-enjoyable, luaneko, karencfv, ad-si and 3 more
Metadata
Metadata
Assignees
Labels
A-macrosArea: All kinds of macros (custom derive, macro_rules!, proc macros, ..)Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)C-bugCategory: This is a bug.Category: This is a bug.I-needs-decisionIssue: In need of a decision.Issue: In need of a decision.T-langRelevant to the language teamRelevant to the language team