about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlejandra González <blyxyas@gmail.com>2025-04-17 00:09:51 +0000
committerGitHub <noreply@github.com>2025-04-17 00:09:51 +0000
commit222660bb36f3ea6a2e43221373269d5bddbf68e6 (patch)
tree17db877c46f4d0ae8caf28b0891c3c4965e6bcfd /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent91658a77392ca470ac20d6ce7a8e77a71ed58744 (diff)
parent042a54c8d7b49ca5cc03f9a7cb4d69ac8bb34312 (diff)
downloadrust-222660bb36f3ea6a2e43221373269d5bddbf68e6.tar.gz
rust-222660bb36f3ea6a2e43221373269d5bddbf68e6.zip
Build complete usable type from a type-relative prefix (#14586)
Instead of looking for angle brackets in the source code, use the HIR
and Ty interfaces to either copy the original type, or complete it with
`_` placeholders if all type and const generic arguments are inferred.

Fixes rust-lang/rust-clippy#14581

changelog: [`from_iter_instead_of_collect`]: show correct type in
suggestion
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions