about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorNoah Lev <camelidcamel@gmail.com>2021-09-11 15:55:21 -0700
committerNoah Lev <camelidcamel@gmail.com>2021-09-11 15:55:21 -0700
commit913764dcefb0ba69fcc1dcaa667de01273270331 (patch)
treef6e4a97b8f10682a805feb414ac43a429dd600a8 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent5321b35a5ad037369fabae99191c9e45111b21a9 (diff)
downloadrust-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