diff options
| author | Noah Lev <camelidcamel@gmail.com> | 2021-09-11 15:55:21 -0700 |
|---|---|---|
| committer | Noah Lev <camelidcamel@gmail.com> | 2021-09-11 15:55:21 -0700 |
| commit | 913764dcefb0ba69fcc1dcaa667de01273270331 (patch) | |
| tree | f6e4a97b8f10682a805feb414ac43a429dd600a8 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 5321b35a5ad037369fabae99191c9e45111b21a9 (diff) | |
| download | rust-913764dcefb0ba69fcc1dcaa667de01273270331.tar.gz rust-913764dcefb0ba69fcc1dcaa667de01273270331.zip | |
Remove unnecessary `is_trait` argument
It was only used for sugaring `Fn` trait bounds, and rustdoc already checks that the `did` is for a `Fn` (or `FnMut`, `FnOnce`) lang item, so it's not necessary to also check that the `did` belongs to a trait.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
