With the edition enabled, proc_macro_path_invoc
feature causes bugs with tool_attributes
feature
#51940
Labels
A-attributes
Area: Attributes (`#[…]`, `#![…]`)
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
A-rust-2018-preview
Area: The 2018 edition preview
P-high
High priority
T-dev-tools
Relevant to the dev-tools subteam, which will review and decide on the PR/issue.
With
#![feature(rust_2018_preview)]
and#![feature(tool_attributes)]
. correct attributes give errors, e.g.,enabling
proc_macro_path_invoc
givesExpected behaviour: no errors and the attribute is ignored by the compiler
Reported in rust-lang/rustfmt#2815
cc @gnzlbg @rust-lang/compiler @petrochenkov
The text was updated successfully, but these errors were encountered: