about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorYacin Tmimi <ytmimi@horizonmedia.com>2021-09-23 22:43:03 -0400
committerCaleb Cartwright <calebcartwright@users.noreply.github.com>2021-10-05 22:29:23 -0500
commit40f4993c67ff54e413da17496769407ab85f3924 (patch)
tree6912c4e75df9368305be71bb063b67d4d1a4bf16 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parentf0f449d6edda5a40057fc82ea02cc9abeae4d012 (diff)
downloadrust-40f4993c67ff54e413da17496769407ab85f3924.tar.gz
rust-40f4993c67ff54e413da17496769407ab85f3924.zip
Update derive attibute span to start after opening '('
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(...)]
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions