diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-02-18 23:23:02 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-18 23:23:02 +0100 |
| commit | f8b83a2aa60d60b60386ef460071261963c8b988 (patch) | |
| tree | c60991bbdead5918a03b62c836fa29c859e8eed2 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | b17226fcc11587fed612631be372a5b4cb89988a (diff) | |
| parent | 4bed7485da0706dfc30f019f94f07fcdf5122358 (diff) | |
| download | rust-f8b83a2aa60d60b60386ef460071261963c8b988.tar.gz rust-f8b83a2aa60d60b60386ef460071261963c8b988.zip | |
Rollup merge of #89892 - Nilstrieb:suggest-return-impl-trait, r=jackh726
Suggest `impl Trait` return type when incorrectly using a generic return type Address #85991 When there is a type mismatch error and the return type is generic, and that generic parameter is not used in the function parameters, suggest replacing that generic with the `impl Trait` syntax. r? `@estebank`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
