40f4993c67
Fixes 4984 When parsing derive attributes we're only concerned about the traits and comments listed between the opening and closing parentheses. Derive attribute spans currently start at the '#'. Span starts here | v #[derive(...)] After this update the derive spans start after the opening '('. Span starts here | V #[derive(...)]
3 lines
41 B
Rust
3 lines
41 B
Rust
#[derive(/*Debug, */ Clone)]
|
|
struct Foo;
|