about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorRomain Perier <romain.perier@gmail.com>2025-03-26 15:49:42 +0100
committerRomain Perier <romain.perier@gmail.com>2025-04-09 08:56:04 +0200
commit8b6ff4a378e2df03db108bcd918a77f8a759334f (patch)
tree910459fffbf95c8d169709be8a4bb47f5d8dba81 /compiler/rustc_codegen_llvm/src
parentc1b8b7e86f6ca59929ce08471d0877f748f84901 (diff)
downloadrust-8b6ff4a378e2df03db108bcd918a77f8a759334f.tar.gz
rust-8b6ff4a378e2df03db108bcd918a77f8a759334f.zip
Suggest the use of `impl Trait` in function parameter only
Currently in case of a Trait object in closure parameter, the compiler
suggests either to use a reference, which is correct or to use an
`impl Trait` which is not. Do not emit this suggestion when the parameter
is part of a closure.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions