diff options
| author | Rich Kadel <richkadel@google.com> | 2020-03-29 06:58:37 -0700 |
|---|---|---|
| committer | Rich Kadel <richkadel@google.com> | 2020-03-29 06:58:37 -0700 |
| commit | b4736b4d35313060a956470dd1e970376f9a0a1a (patch) | |
| tree | ae6684d09fb2e17cf9002d3131cbfc42b9fc97f1 /src/rustllvm/CoverageMappingWrapper.cpp | |
| parent | ec5e9c7bbd0cd16c5ac3581f38d40dee1c3dff05 (diff) | |
| download | rust-b4736b4d35313060a956470dd1e970376f9a0a1a.tar.gz rust-b4736b4d35313060a956470dd1e970376f9a0a1a.zip | |
git attribute macros not allowed in submodules
This change simply moves the `rust` macro definition directly into the attributes for `*.rs` files. git commands that recurse from the rust toplevel tree into submodules produce errors in clippy due to the fact that: "Custom macro attributes can be defined only in top-level gitattributes files" For example, from the toplevel `rust` directory in a rustc development build, try: $ git grep "search string" --recurse-submodules Embedded within the actual results is the error message: [attr]rust text eol=lf whitespace=tab-in-indent,trailing-space,tabwidth=4 not allowed: src/tools/clippy/.gitattributes:1
Diffstat (limited to 'src/rustllvm/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
