about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/Linker.cpp
diff options
context:
space:
mode:
authorYacin Tmimi <yacintmimi@gmail.com>2021-10-19 01:14:51 -0400
committerCaleb Cartwright <calebcartwright@users.noreply.github.com>2021-10-28 21:44:39 -0500
commitbc46af97423cef7484a806e8282c545d7607889e (patch)
tree51a94f2819d9fc187fa90abab60cd5ce23ca4e98 /compiler/rustc_llvm/llvm-wrapper/Linker.cpp
parent8b766f35bcf0b2c2dcd82bd4e4ec82af49c16367 (diff)
downloadrust-bc46af97423cef7484a806e8282c545d7607889e.tar.gz
rust-bc46af97423cef7484a806e8282c545d7607889e.zip
Retain trailing comments in module when using rustfmt::skip attribute
Resolves 5033

Trailing comments at the end of the root Module were removed because the
module span did not extend until the end of the file.

The root Module's span now encompasses the entire file, which ensures
that no comments are lost when using ``#![rustfmt::skip]``
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions