about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2021-05-20 17:56:56 +0200
committerGitHub <noreply@github.com>2021-05-20 17:56:56 +0200
commit67d5435695fa2a62d7a075c50b42ea83a5d19f0d (patch)
treeb23b712ad59d53a4bb510a6cfbaf5e1e556e5485 /compiler/rustc_codegen_llvm/src/llvm_util.rs
parentddc376c03d13931bbba5550d6e8436e6ee8173cb (diff)
parent363eacd8d336e273f234d320dba26e67f7399616 (diff)
downloadrust-67d5435695fa2a62d7a075c50b42ea83a5d19f0d.tar.gz
rust-67d5435695fa2a62d7a075c50b42ea83a5d19f0d.zip
Rollup merge of #85375 - SkiFire13:fix-85347, r=jackh726
Fix missing lifetimes diagnostics after #83759

In #83759 while rebasing I didn't realize there was a new function for suggesting to add lifetime arguments. It relied on some invariants, namely that if a generic type/trait has angle brackets then it must have some generic argument, which is now no longer true. This PR updates that function to handle the new invariants.

This also adds a new regression test but I'm not sure if that's the correct place for it.

Fixes #85347
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions