about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2022-07-01 16:32:20 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2022-07-04 18:36:39 +1000
commita7b1d31a9f358747221e8eb9986bb8303d5d6586 (patch)
tree800969fe38a3592be6582cc24567496b42a92a85 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent5762d2385ebdd735b110ab82e80eed6efa7d7c55 (diff)
downloadrust-a7b1d31a9f358747221e8eb9986bb8303d5d6586.tar.gz
rust-a7b1d31a9f358747221e8eb9986bb8303d5d6586.zip
Don't repeat `AssertParamIs{Clone,Eq}` assertions.
It's common to see repeated assertions like this in derived `clone` and
`eq` methods:
```
let _: ::core::clone::AssertParamIsClone<u32>;
let _: ::core::clone::AssertParamIsClone<u32>;
```
This commit avoids them.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions